60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
|
server {
|
||
|
server_name localhost;
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
|
||
|
location /.well-known {
|
||
|
default_type "text/plain";
|
||
|
allow all;
|
||
|
root /var/www/html;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://localhost:9091;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
server_name idhub2;
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
|
||
|
location /.well-known {
|
||
|
default_type "text/plain";
|
||
|
allow all;
|
||
|
root /var/www/html;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://idhub2:9092;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
server_name idhub3;
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
|
||
|
location /.well-known {
|
||
|
default_type "text/plain";
|
||
|
allow all;
|
||
|
root /var/www/html;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://idhub3:9093;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||
|
}
|
||
|
}
|