Add logging to :80 stanza
This commit is contained in:
@@ -2,6 +2,8 @@ server {
|
|||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $NOSSL_SERVER_NAME;
|
server_name $NOSSL_SERVER_NAME;
|
||||||
|
access_log /var/log/nginx/${APP}-access.log;
|
||||||
|
error_log /var/log/nginx/${APP}-error.log;
|
||||||
return 301 https://\$host\$request_uri;
|
return 301 https://\$host\$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user