Skip to content

Question: Rewrite #150

@damianoneill

Description

@damianoneill

Hi @umputun does reproxy support the nginx concept for assets of

root    /usr/share/nginx/application;
        index  index.html;

        location / {
            rewrite ^(.*)$ /assets/js/dist/index.html break;
            expires 30m;
        }

Where the index.html isn't in the asset root directory but nested further down.

Apologies if this is obvious. I just didn't see anything in this section that hinted toward this. https://reproxy.io/#assets-server

Thanks,
Damian.

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