<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hallo,</div>

<div>anbei die Config. ist ja verknüpft  zu</div>

<div>/etc/nginx/sites-enabled/volszaehler</div>

<div> </div>

<div>
<div># Volkszaehler</div>

<div>include /etc/nginx/proxy_params;</div>

<div>server {<br/>
  listen 80;<br/>
  listen [::]:80;<br/>
  server_name volkszaehler.org;</div>

<div>  location / {<br/>
    proxy_pass http://127.0.0.1:8080;<br/>
    include /etc/nginx/proxy_params;<br/>
  }</div>

<div>  location /middleware {<br/>
    rewrite ^/middleware(.php)?(/.*)? $2;<br/>
    proxy_pass http://127.0.0.1:8080/;<br/>
  }</div>

<div>  location /api {<br/>
    rewrite ^/api(/.*)? $1;<br/>
    proxy_pass http://127.0.0.1:8080/;<br/>
  }</div>

<div>  location /frontend {<br/>
    rewrite ^/frontend/(.*) $1;<br/>
    proxy_pass http://127.0.0.1:8080/;<br/>
  }</div>

<div># Konfigurationsbeispiel für eigene PHP-Scripte die von nginx bereit gestellt werden sollen:<br/>
  location /addapp/ {<br/>
    alias /var/www/html;<br/>
    index index.nginx-debian.html;<br/>
#      <br/>
    location ~ \.php {<br/>
      include snippets/fastcgi-php.conf;<br/>
      fastcgi_param SCRIPT_FILENAME $request_filename;<br/>
      fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;<br/>
    }<br/>
  }<br/>
}</div>

<div> </div>

<div>und die default</div>

<div>
<div>#Default server configuration<br/>
#<br/>
server {<br/>
    listen 80 default_server;<br/>
    listen [::]:80 default_server;<br/>
    root /var/www/html;<br/>
    # Add index.php to the list if you are using PHP<br/>
    index index.php info.php index.html index.htm index.nginx-debian.html;</div>

<div>    server_name _;</div>

<div>    location / {<br/>
        try_files $uri $uri/ =404;<br/>
    }</div>

<div>    location ~ \.php {<br/>
        include snippets/fastcgi-php.conf;<br/>
    <br/>
        # With php-fpm (or other unix sockets):<br/>
        fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;<br/>
    }</div>

<div>    location ~ /\.ht {<br/>
        deny all;<br/>
    }<br/>
}</div>

<div><br/>
# Virtual Host configuration for example.com<br/>
#<br/>
# You can move that to a different file under sites-available/ and symlink that<br/>
# to sites-enabled/ to enable it.<br/>
#<br/>
#server {<br/>
#    listen 80;<br/>
#    listen [::]:80;<br/>
#<br/>
#    server_name example.com;<br/>
#<br/>
#    root /var/www/example.com;<br/>
#    index index.html;<br/>
#<br/>
#    location / {<br/>
#        try_files $uri $uri/ =404;<br/>
#    }<br/>
#}</div>

<div> </div>
</div>

<div> </div>
</div>

<div>
<div>Ja PHP-FPM war/ist schon im Image</div>

<div> </div>

<div> </div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Montag, 16. September 2019 um 14:50 Uhr<br/>
<b>Von:</b> "Daniel Lauckner" <vz@jahp.de><br/>
<b>An:</b> "volkszaehler.org - users" <volkszaehler-users@demo.volkszaehler.org><br/>
<b>Betreff:</b> Re: [vz-users] eigene PHP / phpmyadmin probleme</div>

<div name="quoted-content">Hallo,<br/>
<br/>
<br/>
am Montag, 16. September 2019 um 07:12 hat Markus Reiß geschrieben:<br/>
> also hab in der<br/>
> /etc/nginx/sites-available/default<br/>
<br/>
Die Konfig ist komplett außer Funktion. Welche geladen werden soll ist<br/>
über die Links in /etc/nginx/sites-enabled/ definiert.<br/>
<br/>
> die php sektion bearbeitet<br/>
> und in der<br/>
> /etc/nginx/sites-available/volkszaehler.org<br/>
<br/>
> die index.php hinzu gefügt<br/>
<br/>
Zeig mal bitte die Konfig, was du da erzählst ergibt für mich keinen<br/>
Sinn.<br/>
<br/>
> nein das script geht nicht bzw kommt keine ausgabe aber auch keine Fehlermeldung<br/>
<br/>
Ok.<br/>
<br/>
> Midleware funktioniert und meine werte werden Angezeigt.<br/>
<br/>
Ok.<br/>
<br/>
> gebe ich nur das Verzeichnis an kommt<br/>
> Welcome to nginx!<br/>
---8<---<br/>
<br/>
Also das geht.<br/>
<br/>
Hast du PHP-FPM installiert?<br/>
sudo apt-get install php-fpm<br/>
<br/>
<br/>
mfg Daniel<br/>
 </div>
</div>
</div>
</div></div></body></html>