Files
kalskeborec.cz/config/nginx.d/nginx.conf
2024-02-21 09:08:45 +01:00

26 lines
653 B
Nginx Configuration File
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server {
listen 81 default_server;
root /app;
index index.php index.html index.htm;
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location /admin {
auth_basic "Administrators Area";
auth_basic conf/htpasswd;
}
}
#server {
# listen 82 default_server;
# root /app/master/www;
# index index.php index.html index.htm;
# location ~ \.php$ {
# fastcgi_pass php:9000;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# include fastcgi_params;
# }
#}