Created
January 7, 2019 13:21
-
-
Save apalyukha/ebaeaec756ecd49159bb9441dd81fac1 to your computer and use it in GitHub Desktop.
Spring Boot deploy
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
location / { | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_pass http://localhost:8080; | |
} | |
location /img/ { | |
alias /home/apalyukha/uploads/; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment