G
G
Grag2014-06-25 14:18:44
PHP
Grag, 2014-06-25 14:18:44

How to get rid of WebKitErrorDomain:103?

Hello. Installed nginx, configured a couple of hosts for myself.
site-available:
doc205358452_311661436
made a symlink in sites-enabled:
doc205358452_311661399
generated ssl certificates for them:
doc205358452_311661366
In the configs I wrote:

server {

   listen 101;

   server_name work.dev;
   root /Users/Greg/WebServer/work.dev/web;
   index index.php;

   access_log /Users/Greg/WebServer/work.dev/logs/access.log;
   error_log /Users/Greg/WebServer/work.dev/logs/error.log;
   
   ssl                  on;
   ssl_certificate      ssl/work.dev.crt;
   ssl_certificate_key  ssl/work.dev.key;

   ssl_session_timeout  5m;

   ssl_protocols  SSLv2 SSLv3 TLSv1;
   ssl_ciphers  HIGH:!aNULL:!MD5;
   ssl_prefer_server_ciphers   on;
   
   location ~ \.php {
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
   }
   
     
   include   /usr/local/etc/nginx/conf.d/php-fpm;
}

and test.dev
server {

   listen 100;

   server_name test.dev;
   root /Users/Greg/WebServer/test.dev/web;
   index index.php;

   access_log /Users/Greg/WebServer/test.dev/logs/access.log;
   error_log /Users/Greg/WebServer/test.dev/logs/error.log;
   
   ssl                  on;
   ssl_certificate      ssl/test.dev.crt;
   ssl_certificate_key  ssl/test.dev.key;

   ssl_session_timeout  5m;

   ssl_protocols  SSLv2 SSLv3 TLSv1;
   ssl_ciphers  HIGH:!aNULL:!MD5;
   ssl_prefer_server_ciphers   on;
   
   location ~ \.php {
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
   }
   
     
   include   /usr/local/etc/nginx/conf.d/php-fpm;
}

added to /ect/hosts as:
127.0.0.1      work.dev
127.0.0.1      test.dev

Question: how to remove 103 error?
Z.Y. I would be grateful for minor corrections on configs / advice

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question