View more context

 

stevie

@taoceanz one thing you can do is ensure that you are forcing the base url in configuration in your .env: SS_BASE_URL="http://myurl.localhost/"

stevie

otherwise I imagine whats happening is that the proxy or the actual server inside docker is reporting back its base as being the machine name and port its running on there

stevie

do you have an example of your docker configuration?

Slackbot

Hi there! Thank you for asking how to make a pasty! I'm Rainbow Unicorn Dash, here to help! To share code, you are best off making a GitHub Gist, login to GitHub with your account and go to https://gist.github.com/ to start. Otherwise you can create a snippet by clicking the big + next to where you've been typing!

taoceanz

Hey Stevie, I have ss env vars set passed through to php-fpm from nginx so SS_BASE_URL is set there, also have the alternative base url set in yaml config to the same url. I've tried putting the ss env in .env too, but none of it changes behavior.

taoceanz

This is the Dockerfile to create the container which runs nginx to serve the SS site

taoceanz

The Dockerfile is called and container booted from docker compose