目前ADSL設定是直接上網,在區網內的電腦不用撥接
1.用mega網路空間下載東西,被告知達到ip流量限制,但此時在區網內換電腦就解除限制了,可是區網內的電腦對外ip不是同一個嗎?
2.我想要在PC1上另外撥接上網,就變成多重網路.此時PC1對外就有兩個ip,但我對外的ip是用哪個?可以自己選擇嗎?
http { ....部分略.... include /etc/nginx/conf.d/*.conf; # include 虛擬主機的配置文件 index index.html index.htm; server { if ( $host ~* "\d+\.\d+\.\d+\.\d+" ) { } listen 80 default_server; server_name localhost; root /usr/share/nginx/html; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { } # redirect server error pages to the static page /40x.html # error_page 404 /404.html; location = /40x.html { } } }
# 2015/01 server { #Redirect non-www to WWW listen 80; server_name demo.com; return 301 http://www.demo.com; } server { listen 80; server_name www.demo.com *.demo.com; # ↓↓↓↓以下是子網域配置,但是無法生效?? ↓↓↓↓ #if ( $host ~* (\b(?!www\b)\w+)\.\w+\.\w+ ) { # set $subdomain /$1; #} #set $root_path '/usr/share/nginx/html/demo.com/$subdomain'; # ↑↑↑↑ 以下是子網域配置,但是無法生效?? #以下都正常,通過測試 set $root_path '/usr/share/nginx/html/demo.com'; root $root_path; index index.php index.html; location / { try_files $uri $uri/ /index.php?q=$uri\&; } location ~ \.php$ { try_files $uri $uri/ /index.php?q=$uri\&; fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_intercept_errors on; } }
回應: 550 trjetj: No such file or directory 錯誤: 嚴重檔案傳輸錯誤
回應: 550 abcdef: No such file or directory 錯誤: 無法取得目錄列表