开发者

How do I serve statical Jira's files with nginx?

开发者 https://www.devze.com 2023-02-03 13:49 出处:网络
My actual nginx configuration is like this: server { listen 443; server_name jira.domain.com; ssl_certificate /etc/ssl/certs/jira.crt;

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消