Initial Commit
This commit is contained in:
commit
fd562c3235
11 changed files with 1090 additions and 0 deletions
14
templates/nginx_vhost.j2
Normal file
14
templates/nginx_vhost.j2
Normal file
|
@ -0,0 +1,14 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue