mirror of
https://github.com/hassio-addons/addon-phlex.git
synced 2025-05-04 11:11:28 +00:00
29 lines
No EOL
696 B
Nginx Configuration File
29 lines
No EOL
696 B
Nginx Configuration File
worker_processes 1;
|
|
pid /var/run/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
sendfile on;
|
|
keepalive_timeout 65;
|
|
|
|
server {
|
|
server_name hassio.local;
|
|
listen 1778 default_server;
|
|
listen [::]:1778 default_server;
|
|
root /opt;
|
|
index index.php;
|
|
|
|
location ~* \.php$ {
|
|
fastcgi_pass 127.0.0.1:17276;
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
include fastcgi_params;
|
|
}
|
|
}
|
|
} |