Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rainloop task messing up Nginx configuration #2

Open
ckoehler opened this issue Dec 7, 2019 · 0 comments
Open

Rainloop task messing up Nginx configuration #2

ckoehler opened this issue Dec 7, 2019 · 0 comments

Comments

@ckoehler
Copy link

ckoehler commented Dec 7, 2019

The task Secure RainLoop /data/ directory in nginx configuration. puts the Location block at the end, because the insertbefore line isn't there. This causes the Nginx container to continually restart with this error:

2019/12/07 06:02:36 [emerg] 13#13: "location" directive is not allowed here in /etc/nginx/conf.d/site.conf:12
nginx: [emerg] "location" directive is not allowed here in /etc/nginx/conf.d/site.conf:12

Not sure why that line doesn't exist, but I don't think that location block should be anywhere in there because it needs to be in a server block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant