• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Not answered nginx?

Member
Jul
Threads
15
111
1
8
18

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Hey,

I haven't found any usefull informations about nginx. Maybe someone here can help

I'm currently running
location /aZU0XBqAa7qt2XNhrbdsk{
auth_basic "Admin access";
auth_basic_user_file /usr/local/www/access_login;
alias /usr/local/www/nginx/DomainXYZ/aZU0XBqAa7qt2XNhrbdsk;
}

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
}
Location aZU0XBqAa7qt2XNhrbdsk is linked to phpmyadmin with secured auth_basic. Problem is this:

When I'm at 127.0.0.1/index.php, the website display works as it should, when you go into other page from index.php to let's say download.php, you get 404 Not Found.
PhpMyAdmin doesn't have the issue with going within the app anywhere, but the root directory does have this problem.
Would anyone know, how to configure the nginx.conf? Parametrs are transfer within nginx, so I'm not really sure, where to look -> what to look for

Thanks in advance brothers
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,381
2
1,309
113
Hey,

I haven't found any usefull informations about nginx. Maybe someone here can help

I'm currently running
location /aZU0XBqAa7qt2XNhrbdsk{
auth_basic "Admin access";
auth_basic_user_file /usr/local/www/access_login;
alias /usr/local/www/nginx/DomainXYZ/aZU0XBqAa7qt2XNhrbdsk;
}

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
}
Location aZU0XBqAa7qt2XNhrbdsk is linked to phpmyadmin with secured auth_basic. Problem is this:

When I'm at 127.0.0.1/index.php, the website display works as it should, when you go into other page from index.php to let's say download.php, you get 404 Not Found.
PhpMyAdmin doesn't have the issue with going within the app anywhere, but the root directory does have this problem.
Would anyone know, how to configure the nginx.conf? Parametrs are transfer within nginx, so I'm not really sure, where to look -> what to look for

Thanks in advance brothers

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock