# Shopupdate auf Nginx-Server

**URL:** <https://forum.shopware.com/t/shopupdate-auf-nginx-server/28976>\
**Category:** Installation/Einstieg\
**Created:** [20. Juli 2015 um 14:33 UTC](https://forum.shopware.com/t/shopupdate-auf-nginx-server/28976 "2015-07-20T14:33:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bioweg](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bioweg](https://forum.shopware.com/u/bioweg)\
**Post date:** [20. Juli 2015 um 14:33 UTC](https://forum.shopware.com/t/shopupdate-auf-nginx-server/28976/1 "2015-07-20T14:33:40Z")

</div>

Hallo zusammen, bei dem Versuch ein Update einzuspielen erscheint immer der Wartungsmodus, man kommt nicht dazu das Update auszuführen. Gibt es eventuell noch eine mir unbekannte Nginx-Directive welche gesetzt werden muss?? Wenn ich auf Apache umstelle funzt alles wunderbar, nur ist die Umstellung immer mit reichlich Aufwand verbunden. Selbst alle Errorlogs sind sauber und kein Hinweis zu finden. Im Debug-Modus wird nichts angezeigt.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/0809962157696d8e85c851c9b37b461aa122ba8b.jpeg) Gruß Olaf

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [20. Juli 2015 um 16:01 UTC](https://forum.shopware.com/t/shopupdate-auf-nginx-server/28976/2 "2015-07-20T16:01:52Z")

</div>

[domain.de/recovery/update](http://domain.de/recovery/update) `location /recovery/update/ { location /recovery/update/assets { } if (!-e $request\_filename){ rewrite . /recovery/update/index.php last; } }`

---

<div class="post-metadata">

**Author:** ![gettheMaX](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@gettheMaX](https://forum.shopware.com/u/gettheMaX)\
**Post date:** [20. Juli 2015 um 16:32 UTC](https://forum.shopware.com/t/shopupdate-auf-nginx-server/28976/3 "2015-07-20T16:32:56Z")

</div>

Setzt doch mal den Haken bei „Ich habe ein Backup angelegt …“ Du solltest das Backup natürlich gemacht haben.

---

<div class="post-metadata">

**Author:** ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)\
**Post date:** [21. Juli 2015 um 00:59 UTC](https://forum.shopware.com/t/shopupdate-auf-nginx-server/28976/4 "2015-07-21T00:59:07Z")

</div>

Wie sieht denn Deine aktuelle nginx-Konfiguration aus?

---

<div class="post-metadata">

**Author:** ![bioweg](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bioweg](https://forum.shopware.com/u/bioweg)\
**Post date:** [27. Juli 2015 um 15:25 UTC](https://forum.shopware.com/t/shopupdate-auf-nginx-server/28976/5 "2015-07-27T15:25:17Z")

</div>

Hallo, so sehen meine Configs für nginx aus. ` location / { proxy\_pass https://212.227.252.236:7081; proxy\_set\_header Host $host; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for; access\_log off; } location @fallback { proxy\_pass https://212.227.252.236:7081; proxy\_set\_header Host $host; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for; access\_log off; } location ~ ^/plesk-stat/ { proxy\_pass https://212.227.252.236:7081; proxy\_set\_header Host $host; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for; access\_log off; } location ~ ^/(.\*\.(ac3|avi|bmp|bz2|css|cue|dat|doc|docx|dts|exe|flv|gif|gz|htm|html|ico|img|iso|jpeg|jpg|js|mkv|mp3|mp4|mpeg|mpg|ogg|pdf|png|ppt|pptx|qt|rar|rm|swf|tar|tgz|txt|wav|xls|xlsx|zip))$ { try\_files $uri @fallback; } location ~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon\_ftpstat|awstats-icon) { proxy\_pass https://212.227.252.236:7081; proxy\_set\_header Host $host; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for; access\_log off; } location ~ ^/~(.+?)(/.\*?\.php)(/.\*)?$ { alias /var/www/vhosts/s17479520.onlinehome-server.info/web\_users/$1/$2; fastcgi\_split\_path\_info ^((?U).+\.php)(/?.+)$; fastcgi\_param PATH\_INFO $fastcgi\_path\_info; fastcgi\_pass "unix:/var/www/vhosts/system/fruchthof24.de/php-fpm.sock"; include /etc/nginx/fastcgi.conf; } location ~ ^/~(.+?)(/.\*)?$ { proxy\_pass https://212.227.252.236:7081; proxy\_set\_header Host $host; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for; access\_log off; } location ~ \.php(/.\*)?$ { fastcgi\_split\_path\_info ^((?U).+\.php)(/?.+)$; fastcgi\_param PATH\_INFO $fastcgi\_path\_info; fastcgi\_pass "unix:/var/www/vhosts/system/fruchthof24.de/php-fpm.sock"; include /etc/nginx/fastcgi.conf; } location ~ /$ { index index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml; } include "/var/www/vhosts/system/fruchthof24.de/conf/vhost\_nginx.conf"; ab hier vhost\_nginx.conf location = / { index index.html index.php shopware.php; rewrite shopware.dll /shopware.php; rewrite files/documents/.\* /engine last; rewrite backend/media/(.\*) /media/$1 last; if (!-e $request\_filename){ rewrite . /shopware.php last; } } location ~\* \.(?:manifest|appcache|html?|xml|json)$ { expires -1; #access\_log logs/static.log; } # Shopware \>= 4.3 install / update location /recovery/install { index index.php; try\_files $uri /recovery/install/index.php?$args; } location /recovery/update/ { location /recovery/update/assets { } if (!-e $request\_filename){ rewrite . /recovery/update/index.php last; } } location = /favicon.ico { #log\_not\_found off; #access\_log off; } location = /templates/\_default/backend/\_resources/resources/css/icon-set.css { gzip off; } ## Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS\_Store (Mac). location ~ /\. { deny all; #access\_log off; #log\_not\_found off; } ## Deny all attems to access possible configuration files location ~ \.(tpl|yml|ini|log)$ { deny all; } ## Deny access to media upload folder #location ^~ /media/temp/ { # deny all; #} #location ^~ /cache/ { # deny all; #} #location ^~ /files/documents/ { # deny all; #} # Block direct access to ESDs, but allow the follwing download options: # \* 'PHP' (slow) # \* 'X-Accel' (optimized) # Also see http://wiki.shopware.com/ESD\_detail\_111 ... ware\_4.2.2 location ^~ /files/552211cce724117c3178e3d22bec532ec/ { internal; } ## XML Sitemap support. location = /sitemap.xml { log\_not\_found off; access\_log off; try\_files $uri @shopware; } ## robots.txt support. location = /robots.txt { #log\_not\_found off; #access\_log off; } location ~ \.php$ { try\_files $uri $uri/ =404; } location ~ /(engine|images/[a-z]+|files|templates)/ { rewrite files/documents/.\* /engine last; } if (!-e $request\_filename){ rewrite ^(.\*)$ /shopware.php break; }` Gruß Olaf
