2020-12-17 13:06:33 +01:00
|
|
|
server {
|
|
|
|
|
|
|
|
listen 10021;
|
|
|
|
listen [::]:10021;
|
|
|
|
|
|
|
|
root /var/www/astrxbian/;
|
|
|
|
|
|
|
|
server_name _;
|
|
|
|
|
|
|
|
# IPFS GATEWAY PROXY
|
|
|
|
location /ipfs {
|
2022-04-18 16:09:28 +02:00
|
|
|
proxy_pass http://127.0.0.1:8080;
|
2020-12-17 13:06:33 +01:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /ipns {
|
2022-04-18 16:09:28 +02:00
|
|
|
proxy_pass http://127.0.0.1:8080;
|
2020-12-17 13:06:33 +01:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|