Created
May 25, 2018 15:41
-
-
Save drucoder/3330265ee65ab3b41386f52808cd0156 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/dru/uploads/; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment