Advertisement
CharlyM_NC

Untitled

May 23rd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. server {
  2. listen 80 default; ## listen for ipv4; this line is default and implied
  3. #listen [::]:80 default ipv6only=on; ## listen for ipv6
  4. #listen 443 ssl;
  5. #ssl on;
  6. #ssl_certificate /etc/nginx/cert.pem;
  7. #ssl_certificate_key /etc/nginx/key.pem;
  8. # Make site accessible from http://localhost/ or server IP-address
  9. server_name wifi.cameleo.nc wifi.eden.nc;
  10. #server_name_in_redirect off;
  11.  
  12. charset utf-8;
  13. #listen 443 ssl;
  14. #ssl_certificate /etc/letsencrypt/live/xxx.xxxx.com/fullchain.pem;
  15. #ssl_certificate_key /etc/letsencrypt/live/xxx.xxxx.com/privkey.pem;
  16. #ssl_session_cache shared:SSL:10m;
  17. #ssl_session_timeout 10m;
  18. keepalive_timeout 300;
  19. #ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  20. #ssl_prefer_server_ciphers on;
  21. #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;
  22. #ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  23. #ssl_prefer_server_ciphers on;
  24. #ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
  25.  
  26. access_log /usr/share/nginx/spotipo/logs/access.log;
  27. error_log /usr/share/nginx/spotipo/logs/error.log;
  28. index index.php index.html index.htm;
  29.  
  30. location / { try_files $uri @spotipo; }
  31.  
  32. location @spotipo {
  33. include uwsgi_params;
  34. uwsgi_pass unix:/usr/share/nginx/spotipo/uwsgi.sock;
  35. }
  36.  
  37. location /static {
  38. root /usr/share/nginx/spotipo/unifispot;
  39. }
  40.  
  41. location ~ /.well-known {
  42.  
  43. allow all;
  44. root /usr/share/nginx/spotipo/unifispot;
  45.  
  46.  
  47. }
  48.  
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement