Replace gitlab with forgejo setup
This commit is contained in:
parent
41fa6b52ef
commit
d2bfe3e018
5 changed files with 12 additions and 12 deletions
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
server {
|
||||
listen {{ https_port }} ssl;
|
||||
server_name {{ gitlab_domain }};
|
||||
server_name {{ forgejo_domain }};
|
||||
|
||||
include snippets/certificates.conf;
|
||||
include snippets/ssl-params.conf;
|
||||
|
||||
access_log /var/log/nginx/gitlab.log;
|
||||
error_log /var/log/nginx/gitlab.log;
|
||||
access_log /var/log/nginx/forgejo.log;
|
||||
error_log /var/log/nginx/forgejo.log;
|
||||
|
||||
location / {
|
||||
gzip off;
|
||||
|
|
@ -24,6 +24,6 @@ server {
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Frame-Options SAMEORIGIN;
|
||||
|
||||
proxy_pass http://{{ gitlab_ip }}:{{ gitlab_port }};
|
||||
proxy_pass http://{{ forgejo_ip }}:{{ forgejo_port }};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue