Skip to content

Reverse Proxy Support? #37

Description

@lokwaniyash

Hey, can we expect some reverse proxy support in the near future, at the moment with my current config

location /haptic/ {
            proxy_pass http://localhost:3069/;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            
            # Fix asset loading issues by rewriting paths
            sub_filter 'href="/' 'href="/haptic/';
            sub_filter 'src="/' 'src="/haptic/';
            sub_filter_once off;
        }

the application is unable to get the stored notes, and is generating the default ones everytime

local:

Image

when opened through reverse proxy:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions