Skip to content

How to set up remote access with cockpit and nginx #19653

Closed Answered by jamminjames
jamminjames asked this question in Q&A
Discussion options

You must be logged in to vote

OKAY! Finally figured it out. It was simply that my main server block was more specific than the subdomain server block. It had the IP and the port, whereas the subdomain block only had the port! Nginx will pick the more specific one first, as the request is coming to that IP.

Now it’s working. Thanks for your help and your patience!

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
10 replies
@jamminjames
Comment options

@martinpitt
Comment options

@jamminjames
Comment options

@martinpitt
Comment options

@jamminjames
Comment options

Comment options

You must be logged in to vote
1 reply
@martinpitt
Comment options

Answer selected by jamminjames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants