19
setup/config/nginx/sites-available/powerdns.conf
Normal file
19
setup/config/nginx/sites-available/powerdns.conf
Normal file
@ -0,0 +1,19 @@
|
||||
client_body_temp_path /run/client_body;
|
||||
proxy_temp_path /run/proxy_temp;
|
||||
fastcgi_temp_path /run/fastcgi_temp;
|
||||
scgi_temp_path /run/scgi_temp;
|
||||
uwsgi_temp_path /run/uwsgi_temp;
|
||||
|
||||
server {
|
||||
listen 3000;
|
||||
|
||||
root /app/code/static;
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:8082;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user