Weitere Netcup-Anpassungen
This commit is contained in:
parent
025bbb1bf9
commit
225e5d676a
6 changed files with 38 additions and 14 deletions
29
README.md
29
README.md
|
@ -30,8 +30,37 @@
|
|||
}
|
||||
|
||||
index index.html index.htm;
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Spaceapi
|
||||
location = /spaceapi.json {
|
||||
return 302 /spaceapi/;
|
||||
}
|
||||
location = /spaceapi {
|
||||
return 302 /spaceapi/;
|
||||
}
|
||||
location /spaceapi/ {
|
||||
proxy_pass https://spaceapi.ctbk.de/;
|
||||
}
|
||||
|
||||
# Hackcal
|
||||
location = /hackcal {
|
||||
return 302 /hackcal/;
|
||||
}
|
||||
location /hackcal/ {
|
||||
proxy_pass https://hackcal.ctbk.de/;
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Apache/Netcup
|
||||
Da Netcup keine nginx Configanpassungen und kein Reverse Proxy zulässt, gibt es noch eine .htaccess und die Ordner spaceapi und hackcal mit jeweils einem Proxyscript
|
||||
|
||||
## Minify resources
|
||||
|
||||
```
|
||||
|
|
Reference in a new issue