26 lines
954 B
Plaintext
26 lines
954 B
Plaintext
|
|
server{
|
||
|
|
listen 18701;
|
||
|
|
server_name "127.0.0.1";
|
||
|
|
# index index.php;
|
||
|
|
# root /var/www/html/phpMyAdmin;
|
||
|
|
# location ~ \.php(.*)$ {
|
||
|
|
# fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
|
||
|
|
# include fastcgi_params;
|
||
|
|
# fastcgi_param PATH_INFO $1;
|
||
|
|
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||
|
|
# }
|
||
|
|
# location / {
|
||
|
|
# if (!-e $request_filename) {
|
||
|
|
# rewrite ^/index.php(.*)$ /index.php?s=$1 last;
|
||
|
|
# rewrite ^(.*)$ /index.php?s=$1 last;
|
||
|
|
# break;
|
||
|
|
# }
|
||
|
|
# }
|
||
|
|
|
||
|
|
location / {
|
||
|
|
proxy_set_header Host $host;
|
||
|
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
|
proxy_pass http://phpmyadmin:80;
|
||
|
|
}
|
||
|
|
}
|