Skip to content

Nginx configuration #3050

Discussion options

You must be logged in to vote

I found my own answer.

Instead of this:

location /enc {
try_files $uri $uri/ /yourls-loader.php$is_args$args;
}

I added the folder like this:

location /enc {
try_files $uri $uri/ /enc/yourls-loader.php$is_args$args;
}

Then did nginx -t
and then reloaded and it works.

I hope this helps someone else.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ozh
Comment options

Answer selected by dgw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants