This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/hammerhead/app/nginx/config/gitea.tpl
2021-06-05 08:58:36 +02:00

17 lines
No EOL
304 B
Smarty

upstream gitea-backend {
{{ range service "gitea" }}
server {{ .Address }}:{{ .Port }};
{{ else }}
server 127.0.0.1:65535; # force a 502
{{ end }}
}
server {
listen 80;
listen [::]:80;
server_name gitea.hammerhead.luxeylab.net;
location / {
proxy_pass http://gitea-backend;
}
}