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

doesn't work #3

Open
dolphin-cat opened this issue Mar 19, 2022 · 2 comments
Open

doesn't work #3

dolphin-cat opened this issue Mar 19, 2022 · 2 comments

Comments

@dolphin-cat
Copy link

no ports get opened on server or proxy

@apperside
Copy link

Doesn't work for me either.
What I've done:

  • I copied the content of site.conf to my /etc/nginx/sites-enabled/mysubdomain.domain.com
  • I have changed 3000 with the port I'm running the service on
  • I've update the paths of ssl_certificate and ssl_certificate_key

When I restart nginx I get this error

duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/mysubdomain.domain.com:34

if I comment the line 34 nginx restarts without errors, but I get a 404 at https://mysubdomain.domain.com/api/status

@jdmg94
Copy link

jdmg94 commented Dec 13, 2023

I get the same issue, and I've tried to debug it, so far the issue seems to be with this line:

https://github.com/localtunnel/nginx/blob/master/site.conf#L54

if you replace $http_host with $proxy_host it works for me but the tunnels when you open them redirects you to https://localtunnel.github.io/www/ like when you try to GET /

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

3 participants