25 lines
462 B
Plaintext
25 lines
462 B
Plaintext
|
server {
|
||
|
|
||
|
listen 10021;
|
||
|
listen [::]:10021;
|
||
|
|
||
|
root /var/www/astrxbian/;
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
# IPFS GATEWAY PROXY
|
||
|
location /ipfs {
|
||
|
proxy_pass http://127.0.0.1:8181;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
}
|
||
|
|
||
|
location /ipns {
|
||
|
proxy_pass http://127.0.0.1:8181;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|