Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neofonie/a11y
a little helper with big impact
https://github.com/neofonie/a11y
Last synced: 14 days ago
JSON representation
a little helper with big impact
- Host: GitHub
- URL: https://github.com/neofonie/a11y
- Owner: Neofonie
- Created: 2024-01-25T22:22:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-26T22:19:20.000Z (8 months ago)
- Last Synced: 2024-11-22T08:37:36.739Z (3 months ago)
- Language: Svelte
- Homepage: https://a11y.neofonie.de/
- Size: 392 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README-ssh.md
Awesome Lists containing this project
README
# Wenn der Service von alleine starten soll nach dem neustart musst du ihn enable setzen:
systemctl enable nginx.service
systemctl start nginx.service
systemctl status nginx.service# kann man sich auch anschauen ob der port auf ist mit
netstat -tulpn
# wenn du ihn wieder deaktiviert moechtest dann:
systemctl disable nginx.service
## Validieren config
nginx -t## Restart
systemctl restart nginx
systemctl reload nginx## Nginx Config
cd etc/nginx/sites-available/
nano default```
map $query_string $proxy_host {
"~^url=(.*)" $1;
default $query_string;
}server {
listen 443 ssl;
server_name a11y.neofonie.de;root /var/www/html;
index index.html;ssl_certificate /etc/ssl/neofonie/fullchain.pem;
ssl_certificate_key /etc/ssl/neofonie/privkey.pem;# a11y.neofonie.de/cors-hirse?url=google.com
location /cors-ng {
rewrite ^/cors-ng(.*) /$1 break;
resolver 8.8.8.8 valid=1h;
proxy_pass https://$proxy_host;
}location /cors-js {
rewrite ^/cors-js(.*) /$1 break;
proxy_pass_request_headers on;
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_pass http://a11y.neofonie.de:8443/https://$proxy_host;
}location /cors {
proxy_pass http://a11y.neofonie.de:1337;
}
}
```