Difference between revisions of "Rewrite (nginx.conf)"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
https://www.nginx.com/resources/wiki/start/topics/recipes/mediawiki/ | https://www.nginx.com/resources/wiki/start/topics/recipes/mediawiki/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | location @rewrite { | |
− | + | rewrite ^/(.*)$ /index.php?title=$1&$args; | |
− | + | } | |
− | + | ||
− | + | location @rewrite { | |
+ | rewrite ^/(.*)$ /[[index.php]]; | ||
+ | } | ||
+ | |||
+ | |||
== Activities == | == Activities == |
Revision as of 16:40, 26 August 2021
https://www.nginx.com/resources/wiki/start/topics/recipes/mediawiki/
location @rewrite { rewrite ^/(.*)$ /index.php?title=$1&$args; }
location @rewrite { rewrite ^/(.*)$ /index.php; }
Activities
See also
- Mediawiki
- Nginx:
nginx -t
,nginx.conf
,/etc/nginx/fastcgi.conf
, Nginx Sample Configurations,server
,ssl_certificate
,redirect
,return
,rewrite
,sendfile
,request_uri
,server_name
,listen
,/etc/nginx/snippets/
,/etc/nginx/sites-enabled/default
- Web server: Nginx:
/etc/nginx/nginx.conf
,nginx -t
, Nginx logs, Nginx change log, PHP,php-fpm
, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy)
,ngx_http_rewrite_module
,/etc/nginx/sites-enabled/
,error.log
,access.log
,/nginx status
, AIO - PHP,
php-fpm, www.conf
,php -i
, PHP sessions, symfony,fastcgi_pass
,sessionclean (shell script)
,phpsessionclean.service (systemd service),phpquery
,php.ini
,/var/log/php*
, PECL,php --help
, PHPUnit, Laravel, PHP framework, Composer,phpbrew, Xdebug, php --version
, PHP Fatal error, Hello, World! (php)]
Advertising: