cleanup
This commit is contained in:
23
README.md
23
README.md
@ -58,6 +58,11 @@ git checkout main
|
||||
```bash
|
||||
pip install flask flask-cors beautifulsoup4 lxml urllib3 requests
|
||||
```
|
||||
or via zypper
|
||||
```bash
|
||||
zypper install python313-Flask python313-Flask-Cors python313-beautifulsoup4 python313-lxml python313-urllib3 python313-requests
|
||||
```
|
||||
|
||||
|
||||
### 4. Configure Application
|
||||
|
||||
@ -144,7 +149,8 @@ server {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
http2 on;
|
||||
server_name your-domain.com;
|
||||
|
||||
ssl_certificate /path/to/ssl/cert.pem;
|
||||
@ -156,16 +162,17 @@ server {
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 300;
|
||||
client_max_body_size 1G;
|
||||
proxy_buffering off;
|
||||
|
||||
#Path to the root of your installation
|
||||
root /home/kleinanzeigenscraper/git/kleinanzeigen-boosted/web/;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:5000/api/;
|
||||
proxy_pass http://127.0.0.1:27979;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
@ -113,13 +113,12 @@
|
||||
target="_blank">Kleinanzeigen.de</a>.</p>
|
||||
|
||||
<h4>3.2 OpenStreetMap (Leaflet.js v1.9.4)</h4>
|
||||
<p>Für die Kartendarstellung wird Leaflet.js verwendet. Kartenkacheln werden von CARTO und OpenStreetMap
|
||||
<p>Für die Kartendarstellung wird Leaflet.js verwendet. Kartenkacheln werden von OpenStreetMap
|
||||
bereitgestellt. Beim Laden der Karte werden Anfragen an diese Server gesendet, die Ihre IP-Adresse
|
||||
enthalten können.</p>
|
||||
<ul>
|
||||
<li>OpenStreetMap Datenschutz: <a href="https://wiki.osmfoundation.org/wiki/Privacy_Policy"
|
||||
target="_blank">Privacy Policy</a></li>
|
||||
<li>CARTO Datenschutz: <a href="https://carto.com/privacy/" target="_blank">Privacy Policy</a></li>
|
||||
</ul>
|
||||
|
||||
<h4>3.3 Nominatim Geocoding API</h4>
|
||||
|
||||
Reference in New Issue
Block a user