Skip to content

Commit

Permalink
Fix nginx logging path
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Dec 22, 2018
1 parent 645b999 commit 0746373
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions creator/library/skeletons.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ exports.files = {
authorizedKeys
}, null, "\t") + os.EOL
},
"nginx.conf" ({snoot, webPort, snootsRoot}) {
"nginx.conf" ({snoot, webPort}) {
return `server {
include /www/snoot.club/blocks/error_page.nginx;
include /www/snoot.club/blocks/ssl.nginx;
default_type text/plain;
server_name ${snoot}.snoot.club;
access_log ${snootsRoot}/${snoot}/logs/access.ssl.log;
error_log ${snootsRoot}/${snoot}/logs/error.ssl.log;
access_log /www/snoot.club/snoots/${snoot}/logs/access.ssl.log;
error_log /www/snoot.club/snoots/${snoot}/logs/error.ssl.log;
location / {
include /www/snoot.club/blocks/cors.nginx;
Expand Down

0 comments on commit 0746373

Please sign in to comment.