Skip to content

(nginx) config for without sub domain #907

Answered by paskal
mipimipi asked this question in Q&A
Discussion options

You must be logged in to vote

It would work only if your Nginx will be running in the docker-compose as well, which might be not the case. If I am right, you should expose remark42 to the host:

        ports:
            - "127.0.0.1:8080:8080"

Then change proxy_pass http://remark42:8080/; to proxy_pass http://localhost:8080/;, which should allow your Nginx to see the remark42 properly.

Replies: 1 comment 4 replies

Comment options

paskal
Mar 9, 2021
Collaborator Sponsor

You must be logged in to vote
4 replies
@mipimipi
Comment options

@umputun
Comment options

@mipimipi
Comment options

@paskal
Comment options

paskal Mar 10, 2021
Collaborator Sponsor

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