Created openproject.conf.sample

This is for https://www.openproject.org/
This commit is contained in:
Hammy Havoc 2024-04-13 22:38:10 +01:00 committed by GitHub
commit 618ac3a53c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

18
openproject.conf.sample Normal file
View file

@ -0,0 +1,18 @@
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name openproject.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app OpenProject;
set $upstream_port 8080;
set $upstream_proto https;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header X-Forwarded-Host $upstream_app:$upstream_port;
}
}