404 Error with subdirectory & subfolder

Hello all,
Please help me set-up yourls in the subfolder of the root domain.
I had set-up success but when click short link it doesn’t working

My config

  • Centos 8 with Nginx
  • Subfolder cmod 775
  • httacess

    RewriteEngine on
    RewriteCond %{HTTP_HOST} sho.rt$
    RewriteCond %{REQUEST_URI} !^/s/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /yourls_subdir/1 RewriteCond %{HTTP_HOST} sho.rt
    RewriteRule ^(/)?$ s/yourls-loader.php [L]

Maybe I don’t know do set-up config nginx

Sorry about my english

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.