skip to Main Content

Convert Apache configuration to Nginx

I'm trying to improve the installation documentation of some open source software, but I've hit a snag with the web server configuration. I have this software working well with Apache, but I need to use Nginx in the documentation for…

VIEW QUESTION

Redirecting Nginx Parameters – SEO

I inherited a legacy site and for SEO reasons wish to redirect old parameter links to the new api. Like so: www.example.com/section/?page=3 => www.example.com/page/3 Here is my attempt at a regex redirect: location ~ ^/section/?page=(.*)/$ { return 301 https://www.example.com/page/$1; }…

VIEW QUESTION
Back To Top
Search