I am trying to host my own Lemmy instance. It was running great for awhile. I built the server using the ansible method. When I tried to rebuild the docker containers with ansible last night, I ran into this error.
FAILED! => {“changed”: true, “cmd”: “nginx -s reload”, “delta”: “0:00:00.066477”, “end”: “2023-07-27 23:12:26.216505”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2023-07-27 23:12:26.150028”, “stderr”: “2023/07/27 23:12:26 [notice] 7635#7635: signal process started\n2023/07/27 23:12:26 [error] 7635#7635: open() “/run/nginx.pid” failed (2: No such file or directory)”, “stderr_lines”: [“2023/07/27 23:12:26 [notice] 7635#7635: signal process started”, “2023/07/27 23:12:26 [error] 7635#7635: open() “/run/nginx.pid” failed (2: No such file or directory)”], “stdout”: “”, “stdout_lines”: []}
Any ideas?
These are the options I’ve found related to NAT reflection. After enabling the first option, I’m no longer taken to the GUI but I’m not hitting the web server either. Enabling the second makes no difference.
Is there a way to disable access to the OPNSense GUI when entering the public IP address into a browser on the LAN?
I'm hosting a webser on my home network. I can access the web server from the Internet, but when I'm internal and browse to the domain, I'm taken to the OPNSense GUI.
For those of you who host their own Lemmy instance internally, are you able to log in to your Lemmy account after connecting with the local IP address?
I get SyntaxError: JSON.parse: unexpected character at line 1of the JSON data.
EDIT: I should mention I use OPNSense and when I visit the domain, I'm taken to the router's login page.
The 3rd option worked. Thanks for your help!