mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
18 lines
582 B
Plaintext
Executable File
18 lines
582 B
Plaintext
Executable File
server {
|
|
listen 80 default_server;
|
|
root /var/www/html;
|
|
index index.php;
|
|
#rewrite /pialert/(.*) / permanent;
|
|
add_header X-Forwarded-Prefix "/pialert" always;
|
|
proxy_set_header X-Forwarded-Prefix "/pialert";
|
|
|
|
location ~* \.php$ {
|
|
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
|
fastcgi_connect_timeout 75;
|
|
fastcgi_send_timeout 600;
|
|
fastcgi_read_timeout 600;
|
|
}
|
|
} |