do logging correctly

This commit is contained in:
hyperdefined 2023-07-31 12:32:30 -04:00
parent bede3ce509
commit 69c5210610
No known key found for this signature in database
GPG Key ID: EB0B55B31E88AB03
2 changed files with 24 additions and 12 deletions

View File

@ -5,8 +5,11 @@ server {
listen [::]:80;
server_name co.wukko.sh;
# Set loggging. By default, logging is off for privacy.
# Uncomment these if you want to enable logging.
# Turn logging off for privacy.
access_log off;
error_log /dev/null;
# If you wish to have logging, you can uncomment these.
#access_log /var/log/nginx/co.wukko.sh.access.log;
#error_log /var/log/nginx/co.wukko.sh.error.log;
@ -24,10 +27,13 @@ server {
listen [::]:80;
server_name co.wuk.sh;
# Set loggging. By default, logging is off for privacy.
# Uncomment these if you want to enable logging.
#access_log /var/log/nginx/co.wuk.sh.access.log;
#error_log /var/log/nginx/co.wuk.sh.error.log;
# Turn logging off for privacy.
access_log off;
error_log /dev/null;
# If you wish to have logging, you can uncomment these.
#access_log /var/log/nginx/co.wukko.sh.access.log;
#error_log /var/log/nginx/co.wukko.sh.error.log;
# Pass all requests to cobalt API, as defined above.
location / {

View File

@ -23,8 +23,11 @@ server {
listen [::]:443 ssl http2;
server_name co.wukko.sh;
# Set loggging. By default, logging is off for privacy.
# Uncomment these if you want to enable logging.
# Turn logging off for privacy.
access_log off;
error_log /dev/null;
# If you wish to have logging, you can uncomment these.
#access_log /var/log/nginx/co.wukko.sh.access.log;
#error_log /var/log/nginx/co.wukko.sh.error.log;
@ -47,10 +50,13 @@ server {
listen [::]:443 ssl http2;
server_name co.wuk.sh;
# Set loggging. By default, logging is off for privacy.
# Uncomment these if you want to enable logging.
#access_log /var/log/nginx/co.wuk.sh.access.log;
#error_log /var/log/nginx/co.wuk.sh.error.log;
# Turn logging off for privacy.
access_log off;
error_log /dev/null;
# If you wish to have logging, you can uncomment these.
#access_log /var/log/nginx/co.wukko.sh.access.log;
#error_log /var/log/nginx/co.wukko.sh.error.log;
# Set your HTTPS certificate.
ssl_certificate /etc/letsencrypt/live/co.wuk.sh/fullchain.pem;