wikindx/nginx/files/default.conf
Dominik Meyer 53333aebca
MOD: update and new structure
The structure of the wikindx container has been totally reworked and
now uses two containers, one running php-fpm and the second running
nginx.
2024-01-16 22:30:28 +01:00

23 lines
532 B
Plaintext

server {
listen 8080 default_server;
listen [::]:8080 default_server;
root /var/www/html;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass <WIKINDX_FPM>;
}
access_log /dev/stdout;
error_log /dev/stdout;
# You may need this to prevent return 404 recursion.
location = /404.html {
internal;
}
}