29 lines
679 B
Plaintext
29 lines
679 B
Plaintext
|
server {
|
||
|
listen 80 default_server;
|
||
|
listen [::]:80 default_server;
|
||
|
|
||
|
root /var/www/html;
|
||
|
index index.html index.htm index.nginx-debian.html;
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
location /g1billet {
|
||
|
proxy_pass http://127.0.0.1:9980;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
}
|
||
|
|
||
|
location /ipfs {
|
||
|
proxy_pass http://127.0.0.1:8080;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
}
|
||
|
|
||
|
location /ipns {
|
||
|
proxy_pass http://127.0.0.1:8080;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
}
|
||
|
}
|
||
|
|