# \#nginx

**URL:** https://forum.hhf.technology/tag/nginx/21.md

[Latest](https://forum.hhf.technology/latest.md) · [Categories](https://forum.hhf.technology/categories.md) · [Tags](https://forum.hhf.technology/tags.md)

---

## [Setting Up Domain Aliases in CloudPanel with Independent SSL Tested on Ubuntu 22.04 Only](https://forum.hhf.technology/t/setting-up-domain-aliases-in-cloudpanel-with-independent-ssl-tested-on-ubuntu-22-04-only/418)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [November 24, 2024, 1:04pm UTC](https://forum.hhf.technology/t/setting-up-domain-aliases-in-cloudpanel-with-independent-ssl-tested-on-ubuntu-22-04-only/418 "2024-11-24T13:04:23Z")

</div>

Setting Up Domain Aliases in CloudPanel with Independent SSL Tested on Ubuntu 22.04 (Jammy Jellyfish) Only on which CloudPanel is installed. Use it at your own risk on a production server. It doesn’t alter any imp syst…

---

## [Complete Guide: Deploying Laravel on Ubuntu 24.04](https://forum.hhf.technology/t/complete-guide-deploying-laravel-on-ubuntu-24-04/426)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [December 1, 2024, 7:51am UTC](https://forum.hhf.technology/t/complete-guide-deploying-laravel-on-ubuntu-24-04/426 "2024-12-01T07:51:11Z")

</div>

Complete Guide: Deploying Laravel on Ubuntu 24.04 Introduction This guide provides a comprehensive walkthrough for deploying Laravel applications on Ubuntu 24.04 using an automated script. The script handles everything f…

---

## [Zoneminder - Up and running in Docker with Nginx](https://forum.hhf.technology/t/zoneminder-up-and-running-in-docker-with-nginx/264)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 19, 2024, 5:20am UTC](https://forum.hhf.technology/t/zoneminder-up-and-running-in-docker-with-nginx/264 "2024-10-19T05:20:54Z")

</div>

Zoneminder - Up and running in Docker with Nginx This guide will hopefully outline all of the steps to get Zoneminder up and running under Nginx in a Docker container. Setting up the Docker image We will start by modify…

---

## [Nginx Security Hardening Guide General](https://forum.hhf.technology/t/nginx-security-hardening-guide-general/251)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 11:43am UTC](https://forum.hhf.technology/t/nginx-security-hardening-guide-general/251 "2024-10-18T11:43:03Z")

</div>

Nginx is a powerful and widely used web server that is known for its performance, scalability, and flexibility. However, like any web server, Nginx requires proper security configurations to protect against potential thr…

---

## [A fun way to setup up tradational nginx with Nginx UI](https://forum.hhf.technology/t/a-fun-way-to-setup-up-tradational-nginx-with-nginx-ui/249)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 11:14am UTC](https://forum.hhf.technology/t/a-fun-way-to-setup-up-tradational-nginx-with-nginx-ui/249 "2024-10-18T11:14:19Z")

</div>

Nginx UI is a web-based interface designed to streamline the management of Nginx servers. It offers a variety of features that enhance usability and efficiency for server administrators. Key Features Real-Time Serve…

---

## [How to understand the search pattern that regex defines?](https://forum.hhf.technology/t/how-to-understand-the-search-pattern-that-regex-defines/260)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 6:27pm UTC](https://forum.hhf.technology/t/how-to-understand-the-search-pattern-that-regex-defines/260 "2024-10-18T18:27:22Z")

</div>

How to understand the search pattern that regex defines? Summary Regex stands for Regular Expression. It’s written in plain English, and you can search through large amount of data by using characters. In the following …

---

## [Server Hardening: A Comprehensive Bash Script for Secure Infrastructure Deployment](https://forum.hhf.technology/t/server-hardening-a-comprehensive-bash-script-for-secure-infrastructure-deployment/407)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 6:20pm UTC](https://forum.hhf.technology/t/server-hardening-a-comprehensive-bash-script-for-secure-infrastructure-deployment/407 "2024-11-18T18:20:09Z")

</div>

Overview Securing a server from the ground up is a critical task for any system administrator or DevOps professional. Our advanced Bash script provides a comprehensive, automated solution for server initialization, secur…

---

## [Redirection after changing the old domain to the new domain in Discourse Forum](https://forum.hhf.technology/t/redirection-after-changing-the-old-domain-to-the-new-domain-in-discourse-forum/202)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 14, 2024, 11:38am UTC](https://forum.hhf.technology/t/redirection-after-changing-the-old-domain-to-the-new-domain-in-discourse-forum/202 "2024-10-14T11:38:18Z")

</div>

Here is the best method used for a full redirection after a domain change. In the app.yml, at the end add the after\_web\_config and after\_ssl blocks hooks: after\_code: - exec: cd: $home/plugins cmd…

---

## [Automating Wildcard SSL Certificate Generation Using DNS Challenge with Secondary Domain](https://forum.hhf.technology/t/automating-wildcard-ssl-certificate-generation-using-dns-challenge-with-secondary-domain/431)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [December 5, 2024, 8:45am UTC](https://forum.hhf.technology/t/automating-wildcard-ssl-certificate-generation-using-dns-challenge-with-secondary-domain/431 "2024-12-05T08:45:57Z")

</div>

The Challenge If you’ve ever hosted a website with a provider that doesn’t offer API access for DNS management, you’ve likely encountered challenges with automating SSL certificate generation - particularly for wildcard …

---

## [NGINX Configuration Guide: WordPress Uploads CDN Integration in cloudpanel](https://forum.hhf.technology/t/nginx-configuration-guide-wordpress-uploads-cdn-integration-in-cloudpanel/403)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [November 16, 2024, 5:55pm UTC](https://forum.hhf.technology/t/nginx-configuration-guide-wordpress-uploads-cdn-integration-in-cloudpanel/403 "2024-11-16T17:55:00Z")

</div>

NGINX Configuration Guide: WordPress Uploads CDN Integration Overview This technical documentation outlines the implementation of an NGINX configuration designed to intelligently route WordPress media requests between lo…

---

## [Optimized Nginx and MySQL files for Cloudpanel Heavy Connection](https://forum.hhf.technology/t/optimized-nginx-and-mysql-files-for-cloudpanel-heavy-connection/415)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [November 23, 2024, 11:10am UTC](https://forum.hhf.technology/t/optimized-nginx-and-mysql-files-for-cloudpanel-heavy-connection/415 "2024-11-23T11:10:42Z")

</div>

NGINX configuration for a high-traffic Cloupanel site handling 100K clicks per day. File is located at /etc/nginx/nginx.conf I’ve created an optimized NGINX configuration for high-traffic site. Here are the key optimi…

---

## [How does the 'Access-Control-Allow-Origin' header work?](https://forum.hhf.technology/t/how-does-the-access-control-allow-origin-header-work/262)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 19, 2024, 5:02am UTC](https://forum.hhf.technology/t/how-does-the-access-control-allow-origin-header-work/262 "2024-10-19T05:02:50Z")

</div>

The discussion surrounding Cross-Origin Resource Sharing (CORS) often leads to misconceptions regarding the origin of the headers involved. This confusion can be alleviated by understanding the underlying principles of t…

---

## [How can I configure NGINX to fix the "No 'Authorization: Basic' header found" error](https://forum.hhf.technology/t/how-can-i-configure-nginx-to-fix-the-no-authorization-basic-header-found-error/257)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 5:27pm UTC](https://forum.hhf.technology/t/how-can-i-configure-nginx-to-fix-the-no-authorization-basic-header-found-error/257 "2024-10-18T17:27:06Z")

</div>

To resolve the “No ‘Authorization: Basic’ header found” error when using NGINX with Nextcloud, follow these configuration steps: NGINX Configuration Edit your NGINX configuration file (usually located at /etc/nginx/si…

---

## [If you are unable to log into the app on iOS, and encountering an error message that states as below in NGINX and Nextcloud](https://forum.hhf.technology/t/if-you-are-unable-to-log-into-the-app-on-ios-and-encountering-an-error-message-that-states-as-below-in-nginx-and-nextcloud/256)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 4:25pm UTC](https://forum.hhf.technology/t/if-you-are-unable-to-log-into-the-app-on-ios-and-encountering-an-error-message-that-states-as-below-in-nginx-and-nextcloud/256 "2024-10-18T16:25:25Z")

</div>

If you are unable to log into the app on iOS, and encountering an error message that states as below in NGINX and Nextcloud. “No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is m…

---

## [A collection of useful Nginx configuration snippets](https://forum.hhf.technology/t/a-collection-of-useful-nginx-configuration-snippets/254)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 4:16pm UTC](https://forum.hhf.technology/t/a-collection-of-useful-nginx-configuration-snippets/254 "2024-10-18T16:16:54Z")

</div>

Nginx Configuration Snippets A collection of useful Nginx configuration snippets Table of Contents The Nginx Command Rewrite and Redirection Force www Force no-www Force HTTPS Force Trailing Slash Redirect a Single Pa…

---

## [How does Nginx UI compare to other Nginx web interfaces](https://forum.hhf.technology/t/how-does-nginx-ui-compare-to-other-nginx-web-interfaces/250)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 11:16am UTC](https://forum.hhf.technology/t/how-does-nginx-ui-compare-to-other-nginx-web-interfaces/250 "2024-10-18T11:16:00Z")

</div>

Nginx UI is one of several web interfaces available for managing Nginx servers, and it offers a unique set of features that differentiate it from its competitors. Here’s a comparison of Nginx UI with other popular Nginx …

---

## [Nextcloud + Docker Compose + Nginx](https://forum.hhf.technology/t/nextcloud-docker-compose-nginx/226)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 6:20am UTC](https://forum.hhf.technology/t/nextcloud-docker-compose-nginx/226 "2024-10-17T06:20:20Z")

</div>

Nextcloud using Nginx & Docker Compose This sample config set includes: Nextcloud setup using Docker-Compose Nginx serves the Docker using reverse-proxy Systemd service file (optional) There are examples of the nginx …

---

## [NGINX Rate Limit, Burst and nodelay( please read other related post for in-depth understanding))](https://forum.hhf.technology/t/nginx-rate-limit-burst-and-nodelay-please-read-other-related-post-for-in-depth-understanding/169)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 11, 2024, 3:09am UTC](https://forum.hhf.technology/t/nginx-rate-limit-burst-and-nodelay-please-read-other-related-post-for-in-depth-understanding/169 "2024-10-11T03:09:37Z")

</div>

\## https://nginx.org/en/docs/http/ngx\_http\_limit\_req\_module.html ## https://www.nginx.com/blog/rate-limiting-nginx ## Ref. https://github.com/sportebois/nginx-rate-limit-sandbox limit\_req\_zone $request\_uri zone=by\_uri:…

---

## [How to do Nginx: rate limiting behind Cloudflare on docker](https://forum.hhf.technology/t/how-to-do-nginx-rate-limiting-behind-cloudflare-on-docker/167)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 1\
**Last updated:** [October 11, 2024, 5:13am UTC](https://forum.hhf.technology/t/how-to-do-nginx-rate-limiting-behind-cloudflare-on-docker/167 "2024-10-11T05:13:49Z")

</div>

How to do Nginx: rate limiting behind Cloudflare on docker docker-compose.yml: services: n1: image: nginx:alpine volumes: - ./n1.conf:/etc/nginx/conf.d/default.conf ports: - 8080:80 n2: i…

---

## [Nginx Rate-Limite HTTP2 Cloudpanel and general Nginx and Wordpress](https://forum.hhf.technology/t/nginx-rate-limite-http2-cloudpanel-and-general-nginx-and-wordpress/168)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 1\
**Last updated:** [October 11, 2024, 3:05am UTC](https://forum.hhf.technology/t/nginx-rate-limite-http2-cloudpanel-and-general-nginx-and-wordpress/168 "2024-10-11T03:05:39Z")

</div>

One annoyance of running a publically-accessible WordPress site is the bots that attempt to rapidly try thousands of login attempts via /wp-login.php. Even if none of the guesses are ever likely to work, the site will w…

---

## [Any downsides to using NGINX Proxy Manager vs Native NGINX? Proxy?](https://forum.hhf.technology/t/any-downsides-to-using-nginx-proxy-manager-vs-native-nginx-proxy/160)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 10, 2024, 12:40pm UTC](https://forum.hhf.technology/t/any-downsides-to-using-nginx-proxy-manager-vs-native-nginx-proxy/160 "2024-10-10T12:40:25Z")

</div>

Using NGINX Proxy Manager (NPM) as opposed to native NGINX configurations presents several notable trade-offs that merit careful consideration, especially for users seeking to optimize their web server management. Overv…

---

## [\*\*\*Guide\*\*\*Install Discourse on CloudPanel with Cloudflare-Tunnels](https://forum.hhf.technology/t/guide-install-discourse-on-cloudpanel-with-cloudflare-tunnels/144)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 10, 2024, 7:13am UTC](https://forum.hhf.technology/t/guide-install-discourse-on-cloudpanel-with-cloudflare-tunnels/144 "2024-10-10T07:13:38Z")

</div>

:warning: This installation method is not officially endorsed. Use at your own risk. The Discourse team only recommend installation using the official install guide :information\_source: This is an unsupported insta…

---

## [\*\*\*Vhost\*\*\* Ghost CMS Vhost for Cloudpanel (Only for cloudpanel)](https://forum.hhf.technology/t/vhost-ghost-cms-vhost-for-cloudpanel-only-for-cloudpanel/94)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [October 9, 2024, 11:31am UTC](https://forum.hhf.technology/t/vhost-ghost-cms-vhost-for-cloudpanel-only-for-cloudpanel/94 "2024-10-09T11:31:07Z")

</div>

proxy\_cache\_path /tmp/nginx\_ghost levels=1:2 keys\_zone=ghostcache:600m max\_size=100m inactive=24h; server { listen 80; listen \[::\]:80; listen 443 ssl http2; listen \[::\]:443 ssl http2; {{ssl\_certificate\_key}} …

---

## [Nginx Basics for Ubuntu 24.04/Debian](https://forum.hhf.technology/t/nginx-basics-for-ubuntu-24-04-debian/305)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [September 30, 2024, 6:30pm UTC](https://forum.hhf.technology/t/nginx-basics-for-ubuntu-24-04-debian/305 "2024-09-30T18:30:00Z")

</div>

Nginx Basics for Ubuntu 24.04/Debian Installation To install, you can install the version which is in the standard Ubuntu repositories but it is normally quite old and will not have the latest security patches. The best …

---

## [Comprehensive Guide: Compiling lua-nginx-module with NGINX 1.26.2 Cloudpanel. Ubuntu 24.04](https://forum.hhf.technology/t/comprehensive-guide-compiling-lua-nginx-module-with-nginx-1-26-2-cloudpanel-ubuntu-24-04/416)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [August 4, 2024, 7:13am UTC](https://forum.hhf.technology/t/comprehensive-guide-compiling-lua-nginx-module-with-nginx-1-26-2-cloudpanel-ubuntu-24-04/416 "2024-08-04T07:13:00Z")

</div>

Comprehensive Guide: Compiling lua-nginx-module with NGINX 1.26.2 :warning: CRITICAL ENVIRONMENT NOTICE Execution Environment Requirements WARNING: This operation must be executed exclusively in a non-production environm…

---

## [Using NGINX to prevent DDoS Attacks on Wordpress and php sites Cloudpanel](https://forum.hhf.technology/t/using-nginx-to-prevent-ddos-attacks-on-wordpress-and-php-sites-cloudpanel/170)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [January 23, 2024, 9:18am UTC](https://forum.hhf.technology/t/using-nginx-to-prevent-ddos-attacks-on-wordpress-and-php-sites-cloudpanel/170 "2024-01-23T09:18:00Z")

</div>

Using NGINX to prevent DDoS Attacks Nginx, a highly popular server system for Unix machines, comes with enough built-in functionality to greatly limit the effectiveness of DDoS attacks. These features could handle a DDo…

---

## [\*\*\*Resources\*\*\*Nginx setup, commands and way around](https://forum.hhf.technology/t/resources-nginx-setup-commands-and-way-around/172)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [August 16, 2023, 9:08am UTC](https://forum.hhf.technology/t/resources-nginx-setup-commands-and-way-around/172 "2023-08-16T09:08:00Z")

</div>

Nginx setup, commands and way around install from source code building nginx server the source is the ablity to add custom module,or essentially extend the standard nginx functionality. required libraries: $ sudo apt i…
