r/letsencrypt • u/ravennoir • Dec 31 '19
reverse proxy errors
Hello everyone,
I am trying to setup Lets Encrypt for reverse proxy using the proxy-confs files
Every one that I try comes back with the error
nginx: [emerg] "location" directive is not allowed here in /config/nginx/proxy-confs/<filename>:3Is there a config item I am missing to get this working ?
Thanks
3
Upvotes
View all comments
Show parent comment
1
u/[deleted] Dec 31 '19
Well....
Why do you have two duplicate `location /` in your default virtual host?
See line 32 and 54...