Skip to content

Commit

Permalink
Handle / location for IPFS
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 10, 2024
1 parent 13e1751 commit 052df03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ server {
listen 80;
server_name .ipfs.web4.near.page;

location /ipfs {
location / {
# TODO: Set expires based on content type like https://gist.github.com/bkawk/1d7ecc97e3be3cd04e8e173483d82e1a?
proxy_http_version 1.1;
proxy_set_header Host $host;
Expand Down Expand Up @@ -101,7 +101,7 @@ server {
listen 80;
server_name .ipfs.web4.testnet.page;

location /ipfs {
location / {
# TODO: Set expires based on content type like https://gist.github.com/bkawk/1d7ecc97e3be3cd04e8e173483d82e1a?
proxy_http_version 1.1;
proxy_set_header Host $host;
Expand Down

0 comments on commit 052df03

Please sign in to comment.