Created
November 16, 2021 12:17
-
-
Save ziedHamdi/7c6bea0b339f9ed5fdbf97d75fa419d4 to your computer and use it in GitHub Desktop.
Nginx simplest configuration
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; | |
| location / { | |
| proxy_pass http://next_server:3000; | |
| } | |
| location /api/rest/ { | |
| proxy_pass http://graphql_server:4000; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment