removing template as we use terraform now
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 47s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 47s
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
upstream example_backend {
|
||||
server 192.168.88.52:8080;
|
||||
server 1.1.1.1 backup;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name example.tryton.geeraert.eu www.example.tryton.geeraert.eu;
|
||||
location / {
|
||||
proxy_pass http://example_backend;
|
||||
}
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
listen 80 ;
|
||||
}
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
upstream example_backend {
|
||||
server 192.168.88.52:9080;
|
||||
server 1.1.1.1 backup;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name example.tryton.geeraert.eu www.example.tryton.geeraert.eu;
|
||||
location / {
|
||||
proxy_pass http://example_backend;
|
||||
location ~* \.(html|css|jpg|gif|ico|js)$ {
|
||||
proxy_cache cache;
|
||||
proxy_cache_key $host$uri$is_args$args;
|
||||
proxy_cache_valid 200 301 302 30m;
|
||||
expires 30m;
|
||||
proxy_pass http://example_backend;
|
||||
}
|
||||
|
||||
}
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
http2 on;
|
||||
ssl_certificate /etc/nginx/ssl/live/tryton.geeraert.eu/fullchain.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/live/tryton.geeraert.eu/privkey.pem;
|
||||
|
||||
|
||||
}
|
||||
server {
|
||||
if ($host = www.example.tryton.geeraert.eu) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
if ($host = example.tryton.geeraert.eu) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
server_name www.example.tryton.geeraert.eu example.tryton.geeraert.eu;
|
||||
listen 80;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user