Created
October 5, 2015 21:03
-
-
Save mikezaccardo/2aa6d5ce239a6f4ced02 to your computer and use it in GitHub Desktop.
Artifactory nginx Template
This file contains 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
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { | |
upstream artifactory { | |
ip_hash; | |
server SERVER_IP_HERE:8081; | |
} | |
server { | |
listen 80; | |
server_name SERVER_NAME_HERE; | |
rewrite ^/$ http://$host/artifactory/webapp/login.html; | |
location / { | |
proxy_pass http://artifactory; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment