Skip to content

Does not work when running in local network behind a firewall #717

Answered by LuFlo
LuFlo asked this question in Questions
Discussion options

You must be logged in to vote

Ok, I just got it working and here is a summary of my setup:

Caddy reverse proxy

I downloaded the caddy binary and setup a small reverse proxy with my custom certificates. Here is my Caddyfile:

{
    http_port 1180
    https_port 443
}
https://nextcloud-test.example.com:443 {
    tls /home/user/caddy/ssl/Nextcloud+Test+Certificate.crt.pem /home/user/caddy/ssl/Nextcloud+Test+Certificate.key.pem
    header Strict-Transport-Security max-age=31536000;
    reverse_proxy localhost:11000
}

As you can see, caddy assumes the web service to be running on port 11000

Docker stack file

I use portainer and there you have the possibility to startup docker-compose files via a web UI. My compose file look…

Replies: 3 comments 13 replies

This comment has been hidden.

@szaimen

This comment has been hidden.

Comment options

You must be logged in to vote
9 replies
@LuFlo
Comment options

@szaimen
Comment options

@szaimen
Comment options

@LuFlo
Comment options

@szaimen
Comment options

Comment options

You must be logged in to vote
3 replies
@LuFlo
Comment options

@cerebrux
Comment options

@szaimen
Comment options

Answer selected by LuFlo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #716 on May 24, 2022 16:37.