Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #servidor em http normal
- server {
- listen 80 default_server;
- listen 443 ssl;
- root /usr/share/nginx/html;
- index index.php index.html index.htm;
- #ssl on;
- ssl_certificate /srv/ssl/cert/crialojas.full.crt;
- ssl_certificate_key /srv/ssl/star_crialojas_com.key;
- # Make site accessible
- server_name crialojas.com
- # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param HTTPS on;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement