Created
April 11, 2019 23:31
-
-
Save 100daysofdevops/38fb17d4a565d0f0f17e164b55afe9d6 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 default_server; | |
| listen [::]:80 default_server; | |
| server_name _; | |
| root /usr/share/nginx/html; | |
| # Load configuration files for the default server block. | |
| include /etc/nginx/default.d/*.conf; | |
| location / { | |
| proxy_pass http://127.0.0.1:8080; <-----Add this entry | |
| } | |
| error_page 404 /404.html; | |
| location = /40x.html { | |
| } | |
| error_page 500 502 503 504 /50x.html; | |
| location = /50x.html { | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment