OpenSign icon indicating copy to clipboard operation
OpenSign copied to clipboard

Running locally with custom port

Open donakhseputa opened this issue 7 months ago • 7 comments

can I run locally with custom port? because Im already have MAMP running on port 80 and 443? and if possible can I run it without caddy?

donakhseputa avatar May 12 '25 21:05 donakhseputa

You can run it without caddy if you have something to proxy your traffic. I just set it with NginxProxyManager.

JVKeller avatar May 20 '25 16:05 JVKeller

How you did this? I have still the problem I cannot create an admin. I have nginx and dont need Caddy.

ASchmidt84 avatar Jun 08 '25 21:06 ASchmidt84

The line I have circled in each entry was the line that really make it forward correctly.

Scheme is http (this is for internal traffic) Forward to the servers IP, Port 3000 (removed caddy from the docker compose as we don't need it) Block common exploits WebSockets Support Force SSL, Assign Cert. Custom Locations:

Image

proxy_set_header Host $host;
proxy_set_header CF-Connecting-IP $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
rewrite ^/api/(.*)$ /$1 break;   <--CHANGE for app

JVKeller avatar Jun 09 '25 11:06 JVKeller

Thanks!

ASchmidt84 avatar Jun 09 '25 11:06 ASchmidt84

Thanks!

Report back!

...or not. ¯\_(ツ)_/¯

JVKeller avatar Jun 09 '25 12:06 JVKeller

how about configuration in details tab? and what is IP 192.168.1.212?

donakhseputa avatar Jun 26 '25 03:06 donakhseputa

Yes, you can run. I have tried in my local environment before self-hosting, even without any proxy server needed

vamshikrishnaakula avatar Oct 21 '25 05:10 vamshikrishnaakula