# \#web-server

**URL:** https://community.nginx.org/tag/web-server/47.md?page=2

[Latest](https://community.nginx.org/latest.md) · [Categories](https://community.nginx.org/categories.md) · [Tags](https://community.nginx.org/tags.md)

**Page:** 3

---

## [Access\_log if conditional shows URLs when it shouldn't?](https://community.nginx.org/t/access-log-if-conditional-shows-urls-when-it-shouldnt/7443)

<div class="topic-metadata">

**Author:** [@Jas0n](https://community.nginx.org/u/Jas0n)\
**Replies:** 11\
**Last updated:** [October 15, 2025, 8:00pm UTC](https://community.nginx.org/t/access-log-if-conditional-shows-urls-when-it-shouldnt/7443 "2025-10-15T20:00:31Z")

</div>

My issue: I have an access map to skip logging images based on their filename extensions (ex: ~\*.gif$), and some directories (ex: ~\*^/sample/). It works for the most part, but I’ve noticed they get logged when I see a 40…

---

## [NGINX Docker container only sees one server block?](https://community.nginx.org/t/nginx-docker-container-only-sees-one-server-block/7509)

<div class="topic-metadata">

**Author:** [@TiffanyLynch](https://community.nginx.org/u/TiffanyLynch)\
**Replies:** 1\
**Last updated:** [October 13, 2025, 12:58am UTC](https://community.nginx.org/t/nginx-docker-container-only-sees-one-server-block/7509 "2025-10-13T00:58:15Z")

</div>

Please use this template for troubleshooting questions. My issue: i have two server blocks, nginx only sees the first one. How I encountered the problem: have first server block serving port 80 with web contents, then …

---

## [Can't set up precompressed brotli or http3](https://community.nginx.org/t/cant-set-up-precompressed-brotli-or-http3/7314)

<div class="topic-metadata">

**Author:** [@Saada\_Mehdi](https://community.nginx.org/u/Saada_Mehdi)\
**Replies:** 3\
**Last updated:** [October 5, 2025, 1:57am UTC](https://community.nginx.org/t/cant-set-up-precompressed-brotli-or-http3/7314 "2025-10-05T01:57:31Z")

</div>

Hi, I am a beginner, who’s working toward realizing his self-hosted website. Currently it is on firebase, with http3 and brotli compression. The same features to carry on my machine (once I found a solution with Vodafon …

---

## [I am getting 502 error on my websites](https://community.nginx.org/t/i-am-getting-502-error-on-my-websites/6534)

<div class="topic-metadata">

**Author:** [@Aditya](https://community.nginx.org/u/Aditya)\
**Replies:** 3\
**Last updated:** [October 2, 2025, 10:30pm UTC](https://community.nginx.org/t/i-am-getting-502-error-on-my-websites/6534 "2025-10-02T22:30:49Z")

</div>

My issue: I get the 502 error once in a day for 15 minutes and then the website starts working fine. How I encountered the problem: I’ve recently switched to a DDos protected ip and after this switch ive constantly face…

---

## [A problem with alias and PHP scripts](https://community.nginx.org/t/a-problem-with-alias-and-php-scripts/6501)

<div class="topic-metadata">

**Author:** [@hank](https://community.nginx.org/u/hank)\
**Replies:** 2\
**Last updated:** [September 3, 2025, 4:14pm UTC](https://community.nginx.org/t/a-problem-with-alias-and-php-scripts/6501 "2025-09-03T16:14:11Z")

</div>

I am updating my apps and I have rebuilt them with a bit different structure where public fles html/css/js and PHP files are on web subdirectory and vendor, possible logs, .env and so on are on the directory below web. B…

---

## [NGINX seems to be injecting a phantom folder into my URLs](https://community.nginx.org/t/nginx-seems-to-be-injecting-a-phantom-folder-into-my-urls/6590)

<div class="topic-metadata">

**Author:** [@daemon](https://community.nginx.org/u/daemon)\
**Replies:** 2\
**Last updated:** [September 8, 2025, 4:41pm UTC](https://community.nginx.org/t/nginx-seems-to-be-injecting-a-phantom-folder-into-my-urls/6590 "2025-09-08T16:41:21Z")

</div>

Please use this template for troubleshooting questions. My issue: When I enter the URL for my site and press Enter, a phantom directory is added between the hostname and the index.php. How I encountered the problem: I…

---

## [After 1 or 2 hours port will not in listening mode , shows shut down](https://community.nginx.org/t/after-1-or-2-hours-port-will-not-in-listening-mode-shows-shut-down/6350)

<div class="topic-metadata">

**Author:** [@Harinath\_Korpathi](https://community.nginx.org/u/Harinath_Korpathi)\
**Replies:** 5\
**Last updated:** [October 2, 2025, 10:01pm UTC](https://community.nginx.org/t/after-1-or-2-hours-port-will-not-in-listening-mode-shows-shut-down/6350 "2025-10-02T22:01:28Z")

</div>

Please use this template for troubleshooting questions. My issue: After 1 or 2 hours port will not in listening mode , shows shut down How I encountered the problem: stopped access the application Solutions I’ve tried…

---

## [New guy NGINX questions](https://community.nginx.org/t/new-guy-nginx-questions/6450)

<div class="topic-metadata">

**Author:** [@Akil\_Mieres](https://community.nginx.org/u/Akil_Mieres)\
**Replies:** 2\
**Last updated:** [September 4, 2025, 7:50pm UTC](https://community.nginx.org/t/new-guy-nginx-questions/6450 "2025-09-04T19:50:13Z")

</div>

Ok so the truth is I encountered nginx randomly. Visited freeeth.in and found the default site. Ye old curiousity was peaked. So here I am. What do you need to run nginx? Am I am right to suppose it is more than an ht…

---

## [What is = in try\_files?](https://community.nginx.org/t/what-is-in-try-files/6742)

<div class="topic-metadata">

**Author:** [@xlf](https://community.nginx.org/u/xlf)\
**Replies:** 2\
**Last updated:** [October 2, 2025, 9:49pm UTC](https://community.nginx.org/t/what-is-in-try-files/6742 "2025-10-02T21:49:29Z")

</div>

What does try\_files $uri $uri.html = @second do instead of try\_files $uri $uri.html @second what is = for?

---

## [Please stop making the file multiple.conf](https://community.nginx.org/t/please-stop-making-the-file-multiple-conf/6719)

<div class="topic-metadata">

**Author:** [@GentleRV](https://community.nginx.org/u/GentleRV)\
**Replies:** 1\
**Last updated:** [October 2, 2025, 7:42pm UTC](https://community.nginx.org/t/please-stop-making-the-file-multiple-conf/6719 "2025-10-02T19:42:36Z")

</div>

Please use this template for troubleshooting questions. My issue: The file multiple.conf is not updated How I encountered the problem: Solutions I’ve tried: Websites does not work anymore and the conf file in the fol…

---

## [PHP memory limit: Cannot be changed](https://community.nginx.org/t/php-memory-limit-cannot-be-changed/7228)

<div class="topic-metadata">

**Author:** [@Jenne](https://community.nginx.org/u/Jenne)\
**Replies:** 2\
**Last updated:** [October 2, 2025, 6:20am UTC](https://community.nginx.org/t/php-memory-limit-cannot-be-changed/7228 "2025-10-02T06:20:20Z")

</div>

And again another question, now dealing with the PHP memory\_limit… When using Apache based servers I hat to change the PHP memory\_limit values several times within the php.ini file. While optimizing my WordPress install…

---

## [Loading different things for unauthenticated users](https://community.nginx.org/t/loading-different-things-for-unauthenticated-users/6663)

<div class="topic-metadata">

**Author:** [@xlf](https://community.nginx.org/u/xlf)\
**Replies:** 1\
**Last updated:** [September 12, 2025, 1:12pm UTC](https://community.nginx.org/t/loading-different-things-for-unauthenticated-users/6663 "2025-09-12T13:12:49Z")

</div>

I’m having trouble making this work. All html files under /closed should only be for authenticated users and all html files under /open should be for authenticated or unauthenticated users. If the user is authenticated …

---

## [NGINX and Angular, custom locations](https://community.nginx.org/t/nginx-and-angular-custom-locations/7030)

<div class="topic-metadata">

**Author:** [@Shadow76](https://community.nginx.org/u/Shadow76)\
**Replies:** 19\
**Last updated:** [October 1, 2025, 5:40pm UTC](https://community.nginx.org/t/nginx-and-angular-custom-locations/7030 "2025-10-01T17:40:59Z")

</div>

I have the build of an Angular app located at: /Users/myName/Documents/myApp/app1/dist I’d like to serve the app directly from this build. I’ve set up an Nginx server with the following additional configuration: serv…

---

## [Confusion about \`nginx -t\`](https://community.nginx.org/t/confusion-about-nginx-t/7157)

<div class="topic-metadata">

**Author:** [@Jenne](https://community.nginx.org/u/Jenne)\
**Replies:** 2\
**Last updated:** [October 1, 2025, 11:41am UTC](https://community.nginx.org/t/confusion-about-nginx-t/7157 "2025-10-01T11:41:43Z")

</div>

Hello again. While still learning a lot about NGinx (many more questions to come…) I am confused abou the output of the “nginx -t” command. When running just like that it gives me the following error messages: \[warn\] 7…

---

## [WebSocket STOMP connection 404 through NGINX + Angular frontend container](https://community.nginx.org/t/websocket-stomp-connection-404-through-nginx-angular-frontend-container/7183)

<div class="topic-metadata">

**Author:** [@Zikou](https://community.nginx.org/u/Zikou)\
**Replies:** 1\
**Last updated:** [October 1, 2025, 9:38am UTC](https://community.nginx.org/t/websocket-stomp-connection-404-through-nginx-angular-frontend-container/7183 "2025-10-01T09:38:05Z")

</div>

Hi all, I have an Angular frontend container served with Nginx, and a Spring Cloud Gateway backend exposing a WebSocket endpoint (/api/v1/notification/ws). My Angular environment: apiUrl = ‘http://vm-ip:8222/api/v1’; …

---

## [NGINX + Passenger + Rails + X-Accel](https://community.nginx.org/t/nginx-passenger-rails-x-accel/6270)

<div class="topic-metadata">

**Author:** [@Piotr\_Bracha](https://community.nginx.org/u/Piotr_Bracha)\
**Replies:** 1\
**Last updated:** [August 25, 2025, 11:28am UTC](https://community.nginx.org/t/nginx-passenger-rails-x-accel/6270 "2025-08-25T11:28:45Z")

</div>

I have nginx + passenger + rails. Nginx vhost: passenger\_set\_header X-Accel-Mapping /home/passenger/.rvm/gems/ruby-3.3.6@updateserver/gems/sidekiq-7.3.9/web/assets/=/sidekiq\_assets/; passenger\_pass\_header X-Accel-Redire…

---

## [Auth\_request doesn't work](https://community.nginx.org/t/auth-request-doesnt-work/6248)

<div class="topic-metadata">

**Author:** [@scastagnoli](https://community.nginx.org/u/scastagnoli)\
**Replies:** 1\
**Last updated:** [August 25, 2025, 2:34am UTC](https://community.nginx.org/t/auth-request-doesnt-work/6248 "2025-08-25T02:34:51Z")

</div>

Hello Everyone, I’m just trying to make auth\_request work. I’m using the following code for default.conf: \*server { listen 80 default\_server; location /private { auth\_request /auth; return 200 “OK from Nginx\\n”; } …

---

## [HTTP module for responses with dynamic content](https://community.nginx.org/t/http-module-for-responses-with-dynamic-content/5843)

<div class="topic-metadata">

**Author:** [@enshin](https://community.nginx.org/u/enshin)\
**Replies:** 3\
**Last updated:** [August 14, 2025, 10:21pm UTC](https://community.nginx.org/t/http-module-for-responses-with-dynamic-content/5843 "2025-08-14T22:21:57Z")

</div>

I am wondering how I can create a http module that generates dynamic content and starts sending the response as soon as it is ready so it does not have to buffer the entire content locally and also to prevent hitting tim…

---

## [ACME Protocol now supported directly in NGINX](https://community.nginx.org/t/acme-protocol-now-supported-directly-in-nginx/5950)

<div class="topic-metadata">

**Author:** [@davemc](https://community.nginx.org/u/davemc)\
**Replies:** 0\
**Last updated:** [August 13, 2025, 2:23pm UTC](https://community.nginx.org/t/acme-protocol-now-supported-directly-in-nginx/5950 "2025-08-13T14:23:52Z")

</div>

There’s a blog up on the new NGINX module, ngx\_http\_acme, which provides directives for requesting, installing and reviewing certs from NGINX configurations. Step-by-step guidance, simple workflow. Check it out! blog.ng…

---

## [Too many open files at 1000 req/sec](https://community.nginx.org/t/too-many-open-files-at-1000-req-sec/5796)

<div class="topic-metadata">

**Author:** [@hyperknot](https://community.nginx.org/u/hyperknot)\
**Replies:** 1\
**Last updated:** [August 12, 2025, 1:16pm UTC](https://community.nginx.org/t/too-many-open-files-at-1000-req-sec/5796 "2025-08-12T13:16:05Z")

</div>

Hi, I’m seeking advice on the most robust way to configure Nginx for a specific scenario that led to a caching issue. I run a free vector tile map service (https://openfreemap.org/). The server’s primary job is to serv…

---

## [Install NGINX 1.27.4 vs Unit 1.34.1 - which is the way to go?](https://community.nginx.org/t/install-nginx-1-27-4-vs-unit-1-34-1-which-is-the-way-to-go/270)

<div class="topic-metadata">

**Author:** [@dev4openid](https://community.nginx.org/u/dev4openid)\
**Replies:** 3\
**Last updated:** [February 16, 2025, 8:03pm UTC](https://community.nginx.org/t/install-nginx-1-27-4-vs-unit-1-34-1-which-is-the-way-to-go/270 "2025-02-16T20:03:42Z")

</div>

What is the difference between these products. Is the Unit the latest version and the direction nginx is going? I ask for clarity as I am chasing nginx 1.27.4 and perhaps I am wasting my time deploying as the Unit is …

---

## [Rewrite rules with "base url" prefix](https://community.nginx.org/t/rewrite-rules-with-base-url-prefix/2199)

<div class="topic-metadata">

**Author:** [@Gandalf\_The\_Grey](https://community.nginx.org/u/Gandalf_The_Grey)\
**Replies:** 8\
**Last updated:** [July 18, 2025, 10:42pm UTC](https://community.nginx.org/t/rewrite-rules-with-base-url-prefix/2199 "2025-07-18T22:42:47Z")

</div>

Hi all. I have a lot of rewrite rules (coming from Prestashop) that works as expected if the shop is located in the root path (ie: “/”). These rules are stored in a snippet file so that I can include them in all domain…

---

## [NGINX does not drop connections on bad requests with empty host headers](https://community.nginx.org/t/nginx-does-not-drop-connections-on-bad-requests-with-empty-host-headers/2196)

<div class="topic-metadata">

**Author:** [@sans](https://community.nginx.org/u/sans)\
**Replies:** 18\
**Last updated:** [July 25, 2025, 10:17pm UTC](https://community.nginx.org/t/nginx-does-not-drop-connections-on-bad-requests-with-empty-host-headers/2196 "2025-07-25T22:17:16Z")

</div>

My issue: I have configured a default server for port 80 with simply a “return 444;” statement in it. I expected nginx to close all connections that are matched by this server, but it doesn’t. If the client sends a bad …

---

## [Handling subdomains / NGINX configuration](https://community.nginx.org/t/handling-subdomains-nginx-configuration/5292)

<div class="topic-metadata">

**Author:** [@Jenne](https://community.nginx.org/u/Jenne)\
**Replies:** 5\
**Last updated:** [June 23, 2025, 5:47pm UTC](https://community.nginx.org/t/handling-subdomains-nginx-configuration/5292 "2025-06-23T17:47:16Z")

</div>

What I’m trying to do: Install WordPress & NextCloud to different drive (not directory) Where I’m stuck: Understanding NGinx basics and how to… What I’ve already tried: Regular installation Hello and kind regards. Fi…

---

## [Web Client -\> NGINX -\> Proxy Server -\> Target Web Server](https://community.nginx.org/t/web-client-nginx-proxy-server-target-web-server/5100)

<div class="topic-metadata">

**Author:** [@greekhero](https://community.nginx.org/u/greekhero)\
**Replies:** 6\
**Last updated:** [July 10, 2025, 1:36pm UTC](https://community.nginx.org/t/web-client-nginx-proxy-server-target-web-server/5100 "2025-07-10T13:36:55Z")

</div>

Hello, I have a situation where the web client is making an HTTPS requestl, which is received by NGINX, which then needs to forward it to an HTTP proxy using CONNECT, which then forwards the HTTPS request to the Web Serv…

---

## [Help Me Create A Reverse Proxy For Multiple Services Hosted On Local Machine :)](https://community.nginx.org/t/help-me-create-a-reverse-proxy-for-multiple-services-hosted-on-local-machine/5359)

<div class="topic-metadata">

**Author:** [@Swimmer2-Unboxed7](https://community.nginx.org/u/Swimmer2-Unboxed7)\
**Replies:** 9\
**Last updated:** [July 8, 2025, 5:27pm UTC](https://community.nginx.org/t/help-me-create-a-reverse-proxy-for-multiple-services-hosted-on-local-machine/5359 "2025-07-08T17:27:57Z")

</div>

What I’m trying to do: Create a reverse proxy for multiple services (web servers, Nextcloud, etc.). Prior to configuring the reverse proxy, both the web server and Nextcloud were functioning. I am seeking to have the rev…

---

## [NGINX config and website path](https://community.nginx.org/t/nginx-config-and-website-path/228)

<div class="topic-metadata">

**Author:** [@dev4openid](https://community.nginx.org/u/dev4openid)\
**Replies:** 6\
**Last updated:** [July 7, 2025, 8:55pm UTC](https://community.nginx.org/t/nginx-config-and-website-path/228 "2025-07-07T20:55:55Z")

</div>

I installed nginx on vps with ubuntu 24.04 I then apt install nginx 1.27 Then I went to /etc/nginx/sites-available and created “mysite”. I then ln -s site-available and site-enabled as I learnt to do. The site works wh…

---

## [301 Redirect fails when using HTTPS DNS record](https://community.nginx.org/t/301-redirect-fails-when-using-https-dns-record/5205)

<div class="topic-metadata">

**Author:** [@Mayhem30](https://community.nginx.org/u/Mayhem30)\
**Replies:** 10\
**Last updated:** [July 4, 2025, 4:28am UTC](https://community.nginx.org/t/301-redirect-fails-when-using-https-dns-record/5205 "2025-07-04T04:28:14Z")

</div>

I manage a bunch of domains and this one is giving me issues. As soon as I add the following HTTPS records on Route53, the domain no longer redirects from mypogobadges.com -\> www.mypogobadges.com 1 mypogobadges.com alp…

---

## [Does nginx 1.27 support these versions of quic? Q043 Q046 Q050 Is there a tool to test the quic version?](https://community.nginx.org/t/does-nginx-1-27-support-these-versions-of-quic-q043-q046-q050-is-there-a-tool-to-test-the-quic-version/837)

<div class="topic-metadata">

**Author:** [@hongliang5316](https://community.nginx.org/u/hongliang5316)\
**Replies:** 2\
**Last updated:** [July 3, 2025, 8:31pm UTC](https://community.nginx.org/t/does-nginx-1-27-support-these-versions-of-quic-q043-q046-q050-is-there-a-tool-to-test-the-quic-version/837 "2025-07-03T20:31:13Z")

</div>

Does nginx 1.27 support these versions of quic? Q043 Q046 Q050 Is there a tool to test the quic version?

---

## [Config differences between 1.24 and 1.27](https://community.nginx.org/t/config-differences-between-1-24-and-1-27/253)

<div class="topic-metadata">

**Author:** [@dev4openid](https://community.nginx.org/u/dev4openid)\
**Replies:** 5\
**Last updated:** [February 10, 2025, 6:11pm UTC](https://community.nginx.org/t/config-differences-between-1-24-and-1-27/253 "2025-02-10T18:11:59Z")

</div>

Hi Damian, previously, I was on nginx 1.24, I see issues around security. Many of these issue have been addressed by 1.27. So, I upgraded - now nothing works again. Whereas before it used sever name definition: wa…

[Previous page](https://community.nginx.org/tag/web-server/47.md?match_all_tags=true&page=1&tags%5B%5D=web-server)

[Next page](https://community.nginx.org/tag/web-server/47.md?match_all_tags=true&page=3&tags%5B%5D=web-server)
