Last active
July 27, 2023 20:45
-
-
Save rw3iss/79f3c2020f9f4e93061a2a74e1776337 to your computer and use it in GitHub Desktop.
nginx multi-site config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
server_name tier33.ryanweiss.net; | |
root /web/tier33/build; | |
index index.html; | |
location / { | |
try_files $uri $uri/ /index.html?&args; | |
#proxy_set_header X-Real-IP $remote_addr; | |
#proxy_pass http://localhost:3000; | |
} | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name ryanweiss.net www.ryanweiss.net; | |
root /web/ryanweiss/build; | |
index index.html; | |
location / { | |
try_files $uri $uri/ /index.html?&args; | |
#proxy_set_header X-Real-IP $remote_addr; | |
#proxy_pass http://localhost:4500; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment