work in progress
This commit is contained in:
@@ -21,14 +21,16 @@ server {
|
||||
# security
|
||||
include config/security.conf;
|
||||
|
||||
status_zone img.gruszcznski.eu.org;
|
||||
|
||||
# restrict methods
|
||||
if ($request_method !~ ^(GET)$) {
|
||||
return '405';
|
||||
}
|
||||
|
||||
# logging
|
||||
access_log /var/log/nginx/img.gruszczynski.eu.org.access.log;
|
||||
error_log /var/log/nginx/img.gruszczynski.eu.org.error.log warn;
|
||||
access_log /var/log/angie/img.gruszczynski.eu.org.access.log;
|
||||
error_log /var/log/angie/img.gruszczynski.eu.org.error.log warn;
|
||||
|
||||
include config/general.conf;
|
||||
|
||||
@@ -49,8 +51,8 @@ server {
|
||||
include config/letsencrypt.conf;
|
||||
|
||||
# logging
|
||||
access_log /var/log/nginx/img.gruszczynski.eu.org.access.log;
|
||||
error_log /var/log/nginx/img.gruszczynski.eu.org.error.log warn;
|
||||
access_log /var/log/angie/img.gruszczynski.eu.org.access.log;
|
||||
error_log /var/log/angie/img.gruszczynski.eu.org.error.log warn;
|
||||
|
||||
# restrict methods
|
||||
if ($request_method !~ ^(GET)$) {
|
||||
|
||||
Reference in New Issue
Block a user