m
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
log_format main '$http_x_forwarded_for - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" $request_time';
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name validate.vouch.armos.zinomedia.de;
|
||||
|
||||
access_log off;
|
||||
access_log access_log /var/log/nginx/access.log main;
|
||||
error_log /var/log/nginx/error.log error;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/validate.vouch.armos.zinomedia.de/fullchain.pem;
|
||||
@@ -17,7 +21,7 @@ server {
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
return 302 https://google.com;
|
||||
return 301 https://google.com;
|
||||
}
|
||||
|
||||
# location / {
|
||||
|
||||
Reference in New Issue
Block a user