mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-25 16:01:22 -05:00
How to setup Https on Vikunja Frontend Docker #45
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AmoghSaxena on GitHub (Apr 16, 2022).
I have nginx Installed in my server and also Vikunja installed as docker container. I dont know to setup it as Https.
If i use Frontend in HTTP. Its working fine and all my setting are going great but When i try to shift it to HTTPS using nginx it Doesnt work properly.
Here is my Nginx Conf
@kolaente commented on GitHub (Apr 18, 2022):
What exactly does not work? What error message do you get?
@AmoghSaxena commented on GitHub (Apr 19, 2022):
No error message. UI loads in some sort of weird way. My Registration is off but UI loads with registration button enabled also you wont be able to login on that UI even tho we have option for login.
@kolaente commented on GitHub (Apr 20, 2022):
Can you reach the api at
https://planner.realmx.space/api/v1/info?@AmoghSaxena commented on GitHub (Apr 21, 2022):
If i hit API with HTTP then YES we are able to hit able API. But if I turn my Frontend to HTTPS then I am not able to API
Wait let me explain with screenshot
Frontend with HTTP
Frontend with HTTPS
@kolaente commented on GitHub (Apr 21, 2022):
It looks like you do not proxy the api requests to the api container. Please take a look at the nginx example here: https://vikunja.io/docs/reverse-proxy/#without-gzip
You'll likely need to include the second location block in your nginx config.
Since you're already hosting with docker, I'd recommend you getting familiar with caddy, traefik or another reverse proxy. They make the one thing you're trying to achieve a lot easier.
@dpschen commented on GitHub (Oct 4, 2022):
@AmoghSaxena Could you figure it out?
@AmoghSaxena commented on GitHub (Oct 14, 2022):
@dpschen Yes. Apply port forwarding if you are deploying it in a container.
If you need configurations, let me know, I'll share it.
@kolaente commented on GitHub (Oct 22, 2022):
Closing as resolved, please ping if you have other issues.