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