mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
created: 20230207185112276
|
||||
creator: Octt
|
||||
modified: 20231221001337203
|
||||
modified: 20231221171157103
|
||||
modifier: Octt
|
||||
tags: Server
|
||||
title: Nginx
|
||||
@ -14,6 +14,7 @@ title: Nginx
|
||||
* Nginx reverse proxy + URL rewrite: [[most correct way and best practice is usually...|https://serverfault.com/a/870620]]
|
||||
* [[If is Evil… when used in location context|https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/]] --- (always dangerous in locations, except when doing `return ...;` or `rewrite ... last;`)
|
||||
* [[How to reply with 200+content from Nginx, without serving a file?|https://serverfault.com/questions/196929/how-to-reply-with-200-from-nginx-without-serving-a-file]]
|
||||
* [[nginx redirect based on domain name|https://serverfault.com/questions/832456/nginx-redirect-based-on-domain-name/832474#832474]]
|
||||
* [[Using variables in Nginx location rules|https://stackoverflow.com/questions/15416957/using-variables-in-nginx-location-rules/61513351#61513351]] --- nginx doesn't have proper variables, but the map module is often usable
|
||||
|
||||
* [[Install more_set_headers in nginx for Debian-based distro|https://serverfault.com/questions/954708/install-more-set-headers-in-nginx-1-15-8]] --- `apt install nginx-extras`, keeping in mind that it will rewrite the nginx core package, so any active nginx daemon will crash and need to be restarted.
|
||||
|
Reference in New Issue
Block a user