Advertisement
Guest User

Untitled

a guest
Jan 30th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. worker_processes    1;
  2.  
  3. events {
  4.     worker_connections  1024;
  5. }
  6.  
  7. http {
  8.     include         mime.types;
  9.     default_type    application/octet-stream;
  10.     sendfile        on;
  11.     gzip            on;
  12.    
  13.     listen                      443 ssl;
  14.     ssl_certificate             C:/serwer/ssl/server.crt;
  15.     ssl_certificate_key         C:/serwer/ssl/server.key;
  16.     ssl_session_cache           shared:SSL:1m;
  17.     ssl_session_timeout         5m;
  18.     ssl_ciphers                 HIGH:!aNULL:!MD5;
  19.     ssl_prefer_server_ciphers   on;
  20.    
  21.     server {
  22.         root         C:/serwer/domena1;
  23.         server_name  mateuszszufladowicz.pl;
  24.         server_name  www.mateuszszufladowicz.pl;
  25.        
  26.         location / {
  27.             index  index.html index.php;
  28.         }
  29.        
  30.         location ~ \.php$ {
  31.             fastcgi_pass   127.0.0.1:9000;
  32.             fastcgi_index  index.php;
  33.             include        fastcgi.conf;
  34.         }
  35.     }
  36.    
  37.     server {
  38.         root         C:/serwer/phpmyadmin;
  39.         server_name  pma.mateuszszufladowicz.pl;
  40.        
  41.         location / {
  42.             index  index.html index.php;
  43.         }
  44.        
  45.         location ~ \.php$ {
  46.             fastcgi_pass   127.0.0.1:9000;
  47.             fastcgi_index  index.php;
  48.             include        fastcgi.conf;
  49.         }
  50.     }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement