Move nginx config file location

This commit is contained in:
James Allen 2014-08-19 12:28:19 +01:00
parent b864e37fe5
commit a7370d5de5

View file

@ -394,7 +394,7 @@ module.exports = (grunt) ->
command.push(
"--maintainer", "ShareLaTeX <team@sharelatex.com>"
"--config-files", "/etc/sharelatex/settings.coffee"
"--config-files", "/etc/nginx/sites-enabled/sharelatex"
"--config-files", "/etc/nginx/conf.d/sharelatex.conf"
"--directories", "/var/lib/sharelatex"
"--directories", "/var/log/sharelatex"
)
@ -452,7 +452,7 @@ module.exports = (grunt) ->
command.push(
"package/config/settings.coffee=/etc/sharelatex/settings.coffee"
"package/nginx/sharelatex=/etc/nginx/sites-enabled/sharelatex"
"package/nginx/sharelatex=/etc/nginx/conf.d/sharelatex.conf"
)
console.log "fpm " + command.join(" ")
proc = spawn "fpm", command, stdio: "inherit"