setup proxy rules for pena.digital
This commit is contained in:
parent
4774e9ca6a
commit
5091474d41
@ -1084,7 +1084,6 @@ server {
|
||||
}
|
||||
server {
|
||||
root /usr/share/nginx/html;
|
||||
access_log syslog:server=10.8.0.3:514,tag=nginx_access main;
|
||||
|
||||
index index.html index.htm index.nginx-debian.html;
|
||||
server_name pena.digital www.pena.digital; # managed by Certbot
|
||||
@ -1109,7 +1108,7 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,response-type always;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://10.8.0.8:8006/;
|
||||
proxy_pass http://10.8.0.226:8006/;
|
||||
}
|
||||
location / {
|
||||
proxy_pass http://services;
|
||||
|
Loading…
Reference in New Issue
Block a user