How do I serve statical Jira's files with nginx?
My actual nginx configuration is like this:
server {
listen 443;
server_name jira.domain.com;
ssl_certificate /etc/ssl/certs/jira.crt;
ssl_certificate_key /etc/ssl/private/jira.key;
ssl on;
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_set_header X-Forwarded-Pro开发者_StackOverflow中文版to https;
proxy_set_header Host $http_host;
}
}
How do I serve statical file with Jira standalone edition?
nginx has to be used as a proxy server with Jira standalone edition. There is a similar question here. Alternatively you can deploy the Jira jar edition in a container(jboss or tomcat) and couple nginx with it.
精彩评论