Skip to content

How to deploy to a subdirectory #109

@tholeb

Description

@tholeb

Hi. I want to deploy this app behind nginx in a subfolder (/secrets)

How can I do so ?

I already have this nginx.conf :

location /secret {
    proxy_pass http://127.0.0.1:8082;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
}

When I go to local.domain/secrets, I get redirected to /msg.

I tried setting SUPERSECRETMESSAGE_TLS_AUTO_DOMAIN: local.domain/secrets but it will handle SSL which is not what I want (I want nginx to handle this part)

Many thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions