software:middleware:installation
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:middleware:installation [2019/04/13 20:20] – Systemd Reihenfolge nginx-Proxy jau | software:middleware:installation [2019/05/30 06:34] – Empfehlung HeidiSQL jau | ||
---|---|---|---|
Zeile 209: | Zeile 209: | ||
==== nginx als Proxy (empfohlene Methode) ==== | ==== nginx als Proxy (empfohlene Methode) ==== | ||
- | Nginx ist ein schlanker Webserver/ | + | Nginx ist ein schlanker Webserver/ |
< | < | ||
Zeile 224: | Zeile 224: | ||
server { | server { | ||
listen 80; | listen 80; | ||
+ | listen [::]:80; | ||
location / { | location / { | ||
- | proxy_pass http://localhost:8080; | + | proxy_pass http://127.0.0.1:8080; |
include / | include / | ||
} | } | ||
Zeile 232: | Zeile 233: | ||
location /middleware { | location /middleware { | ||
rewrite ^/ | rewrite ^/ | ||
- | proxy_pass http://localhost:8080/; | + | proxy_pass http://127.0.0.1:8080/; |
} | } | ||
location /api { | location /api { | ||
rewrite ^/api(/.*)? $1; | rewrite ^/api(/.*)? $1; | ||
- | proxy_pass http://localhost:8080/; | + | proxy_pass http://127.0.0.1:8080/; |
} | } | ||
location /frontend { | location /frontend { | ||
rewrite ^/ | rewrite ^/ | ||
- | proxy_pass http://localhost:8080/; | + | proxy_pass http://127.0.0.1:8080/; |
} | } | ||
} | } | ||
Zeile 249: | Zeile 250: | ||
< | < | ||
sudo ln -s / | sudo ln -s / | ||
- | </ | ||
- | Der Systemd für nginx muss angepasst werden damit siche rgestellt ist das der Proxa erst aktiv wird wenn PPM schon läuft. | ||
- | < | ||
- | sudo nano / | ||
- | </ | ||
- | Im Abschnitt '' | ||
- | < | ||
- | Require=middleware.service | ||
</ | </ | ||
Dann nur noch Starten und in Bootprozess einbinden: | Dann nur noch Starten und in Bootprozess einbinden: | ||
Zeile 452: | Zeile 445: | ||
====== phpMyAdmin installieren ====== | ====== phpMyAdmin installieren ====== | ||
+ | < | ||
<note important> | <note important> | ||
MySQL-Superuser ist: '' | MySQL-Superuser ist: '' |
software/middleware/installation.txt · Zuletzt geändert: 2023/03/27 21:14 von joha