Crafting Web Experiences
//
Append the following all and deny all NGINX config directives in server context: If your blog located in /blog/ sub-directory, try: Reference: https://www.cyberciti.biz/faq/nginx-block-url-access-all-except-one-ip-address/
docker-compose.yml: Dockerfile: NGINX default.conf:
You can use map block to get an auth_basic directive argument from the $host variable value: You can use regex expressions with the map directive using ~ modifier, for example: Reference: https://stackoverflow.com/a/69538528
NGINX: Apache: PHP-FPM:
Dockerfile: NGINX default.conf:
If you’re using NGINX web server, add this into your NGINX configuration file to modify output of your webpages: