wiki:python_w_apache
Różnice
Różnice między wybraną wersją a wersją aktualną.
Poprzednia rewizja po obu stronachPoprzednia wersjaNowa wersja | Poprzednia wersja | ||
wiki:python_w_apache [2020/03/11 20:03] – lukasz | wiki:python_w_apache [2022/08/18 11:44] (aktualna) – edycja zewnętrzna 127.0.0.1 | ||
---|---|---|---|
Linia 2: | Linia 2: | ||
Założenia: | Założenia: | ||
- | * aplikacja pythonowa jest w katalogu / | + | * aplikacje pythonowe to Jupyter Notebook, nasłuchujące na portach 8001-8012, |
- | * nasłuchuje na 127.0.0.1 na porcie 8889, | + | * chcę mieć poszczególne notebooki jako " |
- | * mamy certyfikat z Let's Encrypt. | + | * mam certyfikat z Let's Encrypt. |
< | < | ||
- | <VirtualHost *:80> | + | VirtualHost *:80> |
- | ServerName | + | ServerName |
- | ServerAlias www.pythonik.net | + | Redirect permanent / https://python.baszarek.pl/ |
- | Redirect permanent / https://pythonik.net/ | + | |
</ | </ | ||
< | < | ||
- | ServerName | + | ServerName |
ServerAdmin root@localhost | ServerAdmin root@localhost | ||
| | ||
# PreserveHost pomaga przy logowaniu | # PreserveHost pomaga przy logowaniu | ||
ProxyPreserveHost On | ProxyPreserveHost On | ||
- | ProxyPass / http:// | + | ProxyPass /errno http:// |
- | ProxyPassReverse / http:// | + | ProxyPassReverse /errno http:// |
+ | ProxyPass /glob http:// | ||
+ | ProxyPassReverse /glob http:// | ||
+ | ProxyPass /math http:// | ||
+ | ProxyPassReverse /math http:// | ||
+ | ProxyPass /os http:// | ||
+ | ProxyPassReverse /os http:// | ||
+ | ProxyPass /pathlib http:// | ||
+ | ProxyPassReverse /pathlib http:// | ||
+ | ProxyPass /pickle http:// | ||
+ | ProxyPassReverse /pickle http:// | ||
+ | ProxyPass /random http:// | ||
+ | ProxyPassReverse /random http:// | ||
+ | ProxyPass /shutil http:// | ||
+ | ProxyPassReverse /shutil http:// | ||
+ | ProxyPass /subprocess http:// | ||
+ | ProxyPassReverse /subprocess http:// | ||
+ | ProxyPass /tkinter http:// | ||
+ | ProxyPassReverse /tkinter http:// | ||
+ | ProxyPass /zlib http:// | ||
+ | ProxyPassReverse /zlib http:// | ||
+ | ProxyPass /zoneinfo http:// | ||
+ | ProxyPassReverse /zoneinfo http:// | ||
- | CustomLog / | + | |
- | ErrorLog / | + | ProxyPass ws:// |
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ProxyPass ws:// | ||
+ | ProxyPassReverse ws:// | ||
+ | </ | ||
+ | |||
+ | | ||
+ | ErrorLog / | ||
Header always set Strict-Transport-Security " | Header always set Strict-Transport-Security " | ||
Linia 30: | Linia 171: | ||
Include / | Include / | ||
- | SSLCertificateFile / | + | SSLCertificateFile / |
- | SSLCertificateKeyFile / | + | SSLCertificateKeyFile / |
- | + | ||
- | < | + | |
- | AllowOverride All | + | |
- | Require all granted | + | |
- | Options +FollowSymLinks -Indexes | + | |
- | </ | + | |
</ | </ | ||
</ | </ | ||
+ |
wiki/python_w_apache.txt · ostatnio zmienione: 2022/08/18 11:44 przez 127.0.0.1