Files
web-installer/nginx.conf
gyurix dee70d5862 test
2024-07-01 12:38:05 +02:00

44 lines
829 B
Nginx Configuration File

# run nginx in foreground
daemon off;
worker_processes 1;
error_log stderr notice;
events {
worker_connections 1024;
}
http {
include mime.types;
include /etc/nginx/conf.d/*.conf;
default_type application/octet-stream;
server_names_hash_bucket_size 128;
access_log /dev/stdout;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}