# Nginx configuration is deprecated

**URL:** <https://community.localwp.com/t/nginx-configuration-is-deprecated/45657>\
**Category:** Support\
**Created:** [November 21, 2024, 5:06am UTC](https://community.localwp.com/t/nginx-configuration-is-deprecated/45657 "2024-11-21T05:06:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulbart](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/paulbart/32/18007_2.png) [@paulbart](https://community.localwp.com/u/paulbart)\
**Post date:** [November 21, 2024, 5:06am UTC](https://community.localwp.com/t/nginx-configuration-is-deprecated/45657/1 "2024-11-21T05:06:12Z")

</div>

### What issue or error are you experiencing?

Unable to start any sites using Local. I have Windows 11. Latest version of Local

error log reveals the following: 2024/11/20 20:56:10 [warn] 23012#24392: the “listen … http2” directive is deprecated, use the “http2” directive instead in C:/Users/paulb/AppData/Roaming/Local/run/router/nginx/conf/server-block-ssl.conf:2

I used Visual Studio to update the server-block-ssl.conf:2 with the following:

listen 443 ssl;  
http2 on;

## same result

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

* * *

### System Details

- **Local Version:**

- **Operating System (OS) and OS version:**

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 21, 2024, 2:49pm UTC](https://community.localwp.com/t/nginx-configuration-is-deprecated/45657/2 "2024-11-21T14:49:09Z")

</div>

Hi @paulbart

That error is a bit of a false positive in the logs so I wouldn’t worry about that one.

Does changing your Router Mode have any impact? Preferences\>Advanced\>Router Mode

Are you running Local as an administrator?

---

<div class="post-metadata">

**Author:** ![paulbart](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/paulbart/32/18007_2.png) [@paulbart](https://community.localwp.com/u/paulbart)\
**Post date:** [November 22, 2024, 4:19am UTC](https://community.localwp.com/t/nginx-configuration-is-deprecated/45657/3 "2024-11-22T04:19:48Z")

</div>

I have tried both router methods and tried as administrator. No difference.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 22, 2024, 2:09pm UTC](https://community.localwp.com/t/nginx-configuration-is-deprecated/45657/4 "2024-11-22T14:09:49Z")

</div>

We have a Windows Troubleshooting guide below that goes over some common items worth checking. For example, make sure you’re running Local as an admin user, that you don’t have any security blockers, and that Local has access to update your Hosts file.

> **[Troubleshoot: Windows + Local](https://localwp.com/help-docs/troubleshooting/troubleshoot-windows-local/)**
>
> Windows is the operating system of choice for the majority of Local users, and while Local is compatible with Windows, below we will break down some common troubleshooting steps for Windows users to…

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [February 20, 2025, 2:10pm UTC](https://community.localwp.com/t/nginx-configuration-is-deprecated/45657/5 "2025-02-20T14:10:34Z")

</div>

Closed on February 20, 2025, 2:10pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
