File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ server {
2
+ listen 443 ssl;
3
+ listen [::]:443 ssl;
4
+
5
+ server_name redmine.*;
6
+
7
+ include /config/nginx/ssl.conf;
8
+
9
+ client_max_body_size 0;
10
+
11
+ access_log /var/log/nginx/redmine-access.log;
12
+ error_log /var/log/nginx/redmine-error.log;
13
+
14
+ location / {
15
+ include /config/nginx/proxy.conf;
16
+ include /config/nginx/resolver.conf;
17
+
18
+ set $upstream_app redmine;
19
+ set $upstream_port 3000;
20
+ set $upstream_proto http;
21
+ proxy_pass $upstream_proto://$upstream_app:$upstream_port;
22
+
23
+ proxy_set_header Host $http_host;
24
+ proxy_set_header X-Real-IP $remote_addr;
25
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
26
+ proxy_set_header X-Forwarded-Proto $scheme;
27
+ client_max_body_size 10m;
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments