Adding support for alpine based image

This commit is contained in:
root
2024-02-29 21:56:55 +00:00
parent 57d0680b6a
commit 89f2c28046
4 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
server {
listen ${LISTEN_ADDR}:${PORT} default_server;
root ${INSTALL_DIR}/pialert/front;
index index.php;
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;
}
}