System: Ubuntu 16.04 LTS, Nginx, multiple sub-domains
I followed the instructions to get Certbot installed and let it modify my server files. I am running various sites on sub-domains. When I had trouble getting my sites to load, I copied all the new server files to my computer and reverted to the original files. My sites load fine. Now I’m trying to implement SSL on my test sites and I’m getting this error:
nginx: [emerg] unknown “usr” variable
I have no idea what this means. The site I’m trying to get running is a test site for my IP.Board forums. All my other sub-domains are still http. The only way I can get nginx to start is to delete the server file for the test site with SSL configured.
Here’s the nginx.conf file:
That’s not the entire file, but the rest is PHP processing and the handling of images and other static data. I need a redirect to https as people update their bookmarks. I have no idea how to get this working, so I’m hoping someone can help.