Answer the question
In order to leave comments, you need to log in
How to get rid of WebKitErrorDomain:103?
Hello. Installed nginx, configured a couple of hosts for myself.
site-available:
made a symlink in sites-enabled:
generated ssl certificates for them:
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;
}
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;
}
127.0.0.1 work.dev
127.0.0.1 test.dev
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question