cleanups
This commit is contained in:
@@ -7,15 +7,13 @@ server {
|
||||
# security
|
||||
include config/security.conf;
|
||||
|
||||
status_zone gruszczynski.eu.org_backend;
|
||||
|
||||
# restrict methods
|
||||
if ($request_method !~ ^(GET)$) {
|
||||
return '405';
|
||||
}
|
||||
|
||||
# logging
|
||||
#access_log /var/log/angie/gruszczynski.eu.org.access.log;
|
||||
#error_log /var/log/angie/gruszczynski.eu.org.error.log warn;
|
||||
|
||||
# index.php
|
||||
index index.php index.html;
|
||||
|
||||
@@ -48,25 +46,21 @@ server {
|
||||
# ssl cfg
|
||||
include config/ssl_cfg.conf;
|
||||
|
||||
|
||||
status_zone gruszczynski.eu.org_frontend;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:6081/;
|
||||
proxy_pass http://varnish/;
|
||||
include config/proxy.conf;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
# HTTP redirect
|
||||
server {
|
||||
listen 80;
|
||||
add_header Alt-Svc 'h3=":443"; ma=86400';
|
||||
server_name gruszczynski.eu.org www.gruszczynski.eu.org;
|
||||
|
||||
# include config/letsencrypt.conf;
|
||||
|
||||
# restrict methods
|
||||
if ($request_method !~ ^(GET)$) {
|
||||
return '405';
|
||||
|
||||
Reference in New Issue
Block a user