Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80 default; ## listen for ipv4; this line is default and implied
- #listen [::]:80 default ipv6only=on; ## listen for ipv6
- #listen 443 ssl;
- #ssl on;
- #ssl_certificate /etc/nginx/cert.pem;
- #ssl_certificate_key /etc/nginx/key.pem;
- # Make site accessible from http://localhost/ or server IP-address
- server_name wifi.cameleo.nc wifi.eden.nc;
- #server_name_in_redirect off;
- charset utf-8;
- #listen 443 ssl;
- #ssl_certificate /etc/letsencrypt/live/xxx.xxxx.com/fullchain.pem;
- #ssl_certificate_key /etc/letsencrypt/live/xxx.xxxx.com/privkey.pem;
- #ssl_session_cache shared:SSL:10m;
- #ssl_session_timeout 10m;
- keepalive_timeout 300;
- #ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- #ssl_prefer_server_ciphers on;
- #ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA;
- #ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- #ssl_prefer_server_ciphers on;
- #ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
- access_log /usr/share/nginx/spotipo/logs/access.log;
- error_log /usr/share/nginx/spotipo/logs/error.log;
- index index.php index.html index.htm;
- location / { try_files $uri @spotipo; }
- location @spotipo {
- include uwsgi_params;
- uwsgi_pass unix:/usr/share/nginx/spotipo/uwsgi.sock;
- }
- location /static {
- root /usr/share/nginx/spotipo/unifispot;
- }
- location ~ /.well-known {
- allow all;
- root /usr/share/nginx/spotipo/unifispot;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement