# Прошу помощи. Nginx Nextcloud = 404 :С

**URL:** <https://help.nextcloud.com/t/nginx-nextcloud-404/157570>\
**Category:** 🇷🇺 русский язык (russian)\
**Tags:** reverseproxy, ubuntu, nginx\
**Created:** [March 10, 2023, 6:12pm UTC](https://help.nextcloud.com/t/nginx-nextcloud-404/157570 "2023-03-10T18:12:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [March 10, 2023, 8:16pm UTC](https://help.nextcloud.com/t/nginx-nextcloud-404/157570/2 "2023-03-10T20:16:23Z")

</div>

hello @Limewax welcome to the forum 🤝

you likely missing all/some `config.php` settings related to hosting Nextcloud behind reverse proxy. Please review [reverse proxy configuration](https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/reverse_proxy_configuration.html) likely it works if you add **overwrite** \* parameters to your `config.php`

> [@Limewax](#):
>
> Я хочу иметь доступ к NEXTCLOUD и по 80 и по 443 порту  
> для 443 через доменноеимяТОЧКАру  
> для 80 по внутр.IP

it’s always bad idea to access the system with different URLs/local IP. I recommend you to use “split-brain DNS” or “split-horizon DNS” so you can access local resources using public DNS name and https/TLS. Following this advice simplifies configuration and troubleshooting as you don’t need to maintain different configs for local and remote access:

 ![image](https://help.nextcloud.com/uploads/default/original/3X/4/2/42f9b86e4e3397abe12ccf4634c3c618b60c841d.png)

> [@How to enter nextcloud internally(nextcloud aio running behind nginx proxy manager)](https://help.nextcloud.com/t/how-to-enter-nextcloud-internally-nextcloud-aio-running-behind-nginx-proxy-manager/157192):
>
> Hello there, I am new to all these self-hosted service and I am able to access nextcloud if I am accessing it through the domain and using external network, but how do access it internally? as I need to upload files to it using home network. if I enter the doamin when using the home network it will just point me to my router’s config page. I know it is kind of a dumb question, but could anyone help me out? nextcloud aio is running using docker compose version: “3.8” volumes: nextcloud\_aio\_m…

[https://github.com/nextcloud/all-in-one#how-can-i-access-nextcloud-locally](https://github.com/nextcloud/all-in-one#how-can-i-access-nextcloud-locally)

> [@Lost acces from inside LAN](https://help.nextcloud.com/t/lost-acces-from-inside-lan/129739):
>
> Nextcloud version (eg, 20.0.5): 23 Operating system and version (eg, Ubuntu 20.04): unraid Apache or nginx version (eg, Apache 2.4.25): nginx reverse proxy v2.9.12 PHP version (eg, 7.4): replace me The issue you are facing: Can acces from outside but not from LAN Is this the first time you’ve seen this error? Y Steps to replicate it: Install mariadb docker Install nextcloud docker Config nextcloud to point mariadb and create admin user All works (only inside lan) Modify config.php so c…

---

_[View the full topic](https://help.nextcloud.com/t/nginx-nextcloud-404/157570)._
