forked from axiom-team/astrXbian
not used
This commit is contained in:
parent
2390e1d4c9
commit
666dfb4a55
|
@ -1,46 +0,0 @@
|
|||
server {
|
||||
|
||||
listen _PORT_;
|
||||
listen [::]:_PORT_;
|
||||
|
||||
root /var/www/loveland/_APPLI_;
|
||||
|
||||
server_name _MY_NODE_NAME_ localhost 127.0.0.1;
|
||||
|
||||
error_log /var/log/nginx/_APPLI_.error.log;
|
||||
access_log /var/log/nginx/_APPLI_.access.log;
|
||||
|
||||
# This section can be copied into an existing default setup
|
||||
location / {
|
||||
allow all;
|
||||
index index.php index.html index.htm;
|
||||
location ~ \.php {
|
||||
try_files $uri index.php =404;
|
||||
fastcgi_pass unix:/var/run/php/php_PHPVERSION_-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
fastcgi_read_timeout 1800;
|
||||
}
|
||||
error_page 404 = /error/404.html;
|
||||
try_files $uri $uri/ =404;
|
||||
location ~ /albumart/* {
|
||||
expires -1s;
|
||||
}
|
||||
}
|
||||
|
||||
# IPFS GATEWAY PROXY
|
||||
location /ipfs {
|
||||
proxy_pass http://127.0.0.1:8181;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
}
|
||||
|
||||
location /ipns {
|
||||
proxy_pass http://127.0.0.1:8181;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue