mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-23 08:31:05 +00:00
52c2aa474f
* Rebrand project to PiSCSI - rascsi ->piscsi - rasctl -> scsictl - rasdump -> scsidump - ras* -> piscsi* (rasutil -> piscsi_util, etc.) * Refined the formatting and wording of the app startup banner * Kept some references to rascsi and rasctl where backwards compatibility is concerned * Point to the new github repo URL Co-authored-by: nucleogenic <nr@nucleogenic.com> Co-authored-by: Uwe Seimet <Uwe.Seimet@seimet.de>
32 lines
771 B
Plaintext
32 lines
771 B
Plaintext
# /etc/nginx/sites-available/default
|
|
# Simple proxy_pass for PiSCSI-web
|
|
server {
|
|
listen [::]:80 default_server;
|
|
listen 80 default_server;
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
|
|
ssl_certificate /etc/ssl/certs/piscsi-web.crt;
|
|
ssl_certificate_key /etc/ssl/private/piscsi-web.key;
|
|
ssl_session_timeout 1d;
|
|
ssl_session_cache shared:MozSSL:10m;
|
|
ssl_session_tickets off;
|
|
ssl_protocols TLSv1.3;
|
|
ssl_prefer_server_ciphers off;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8080;
|
|
}
|
|
|
|
# Large files
|
|
client_max_body_size 0;
|
|
proxy_read_timeout 1000;
|
|
proxy_connect_timeout 1000;
|
|
proxy_send_timeout 1000;
|
|
|
|
error_page 502 /502.html;
|
|
location = /502.html {
|
|
root /var/www/html/;
|
|
}
|
|
}
|