Dominik Meyer
53333aebca
The structure of the wikindx container has been totally reworked and now uses two containers, one running php-fpm and the second running nginx.
23 lines
532 B
Plaintext
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;
|
|
}
|
|
} |