Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
654 views
by
I want to change  /etc/nginx/common/php.conf

From .  try_files $uri $uri/ /index.php?$args;

To    try_files $uri $uri/ /yourls-loader.php$is_args$args;

When I change directly in php.conf file.it's work. but it will deleted after update.

I try to follower your docs https://webinoly.com/en/documentation/sites/

I have create custom-nginx.conf in /var/www/domain.com

But I put try_files $uri $uri/ /yourls-loader.php$is_args$args;
It dones't work.

I try to put location / { try_files $uri $uri/ /yourls-loader.php$is_args$args; }
It dones't work too. nginx error.

Can you help me?

1 Answer

–1 vote
by Expert

Remember that this is a Community Forum for Webinoly, not for "Yourls".

We have Yourls working with a custom /etc/nginx/sites-available/domain.com file. This file is not overwritten in updates.

Regards.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...