Created
October 14, 2019 15:25
-
-
Save asoltys/c0595b72b2e243cf4025007be787f1ae to your computer and use it in GitHub Desktop.
This file contains hidden or 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 althea; | |
error_page 405 =200 $uri; | |
location / { | |
proxy_pass http://127.0.0.1:3005; | |
} | |
location /backend { | |
rewrite ^/backend(.*) $1 break; | |
proxy_pass http://192.168.10.1:4877$uri$is_args$args; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment