ansible-deploy-gitea/templates/nginx_vhost.j2

15 rivejä
291 B
Plaintext

2019-01-26 08:21:47 +02:00
server {
listen 80;
server_name {{ gitea_fqdn }};
location / {
proxy_pass http://localhost:3000;
proxy_set_header X-Real-IP $remote_addr;
}
location ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /var/www/html;
}
}