Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/55.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 带有Nginx、Puma和Rails 4的根路径_Ruby On Rails_Nginx_Dns_Ubuntu 14.04_Puma - Fatal编程技术网

Ruby on rails 带有Nginx、Puma和Rails 4的根路径

Ruby on rails 带有Nginx、Puma和Rails 4的根路径,ruby-on-rails,nginx,dns,ubuntu-14.04,puma,Ruby On Rails,Nginx,Dns,Ubuntu 14.04,Puma,我用nginx和puma在Ubuntu14.04服务器上部署了我的网站,只要我使用IP地址访问该网站,它就能正常工作。我正在尝试建立域名在目前,它没有工作,因为它应该 这就是我的nginx配置的样子: upstream puma { server unix:///home/deploy/apps/savoir/shared/tmp/sockets/savoir-puma.sock; } server { listen 80 default_server deferred; serv

我用nginx和puma在Ubuntu14.04服务器上部署了我的网站,只要我使用IP地址访问该网站,它就能正常工作。我正在尝试建立域名在目前,它没有工作,因为它应该

这就是我的nginx配置的样子:

upstream puma {
  server unix:///home/deploy/apps/savoir/shared/tmp/sockets/savoir-puma.sock;
}

server {
  listen 80 default_server deferred;
  server_name mydomain.de;

  root /home/deploy/apps/savoir/current/public;
  access_log /home/deploy/apps/savoir/current/log/nginx.access.log;
  error_log /home/deploy/apps/savoir/current/log/nginx.error.log debug;

  location ^~ /assets/ {
    gzip_static on;
    expires max;
    add_header Cache-Control public;
  }

  try_files $uri/index.html $uri @puma;
  location @puma {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;

    proxy_pass http://puma;
  }

  error_page 500 502 503 504 /500.html;
  client_max_body_size 10M;
  keepalive_timeout 10;
}
如果我试图使用我的浏览器使用域访问该站点,我会得到一个空白页面,url将更改为:
mydomain.de/defaultsite
。我希望获得为rails应用程序设置的根页面

编辑:

nginx错误日志:

2016/03/18 11:14:03 [debug] 60010#0: *1 write new buf t:1 f:0 000000000077CE08, pos 000000000077CE08, size: 756 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 http write filter: l:0 f:0 s:756
2016/03/18 11:14:03 [debug] 60010#0: *1 http cacheable: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 http proxy filter init s:200 h:0 c:0 l:-1
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream process upstream
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe read upstream: 1
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe preread: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 readv: 1:3441
2016/03/18 11:14:03 [debug] 60010#0: *1 readv() not ready (11: Resource temporarily unavailable)
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe recv chain: -2
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe buf free s:0 t:1 f:0 000000000077BCD0, pos 000000000077BF5F, size: 0 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe length: -1
2016/03/18 11:14:03 [debug] 60010#0: *1 event timer: 12, old: 1458299703835, new: 1458299703856
2016/03/18 11:14:03 [debug] 60010#0: *1 post event 00000000007A1178
2016/03/18 11:14:03 [debug] 60010#0: *1 post event 00000000007B4988
2016/03/18 11:14:03 [debug] 60010#0: *1 delete posted event 00000000007B4988
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream request: "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream dummy handler
2016/03/18 11:14:03 [debug] 60010#0: *1 delete posted event 00000000007A1178
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream request: "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream process upstream
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe read upstream: 1
2016/03/18 11:14:03 [debug] 60010#0: *1 readv: 1:3441
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe recv chain: 3441
2016/03/18 11:14:03 [debug] 60010#0: *1 input buf #0
2016/03/18 11:14:03 [debug] 60010#0: *1 malloc: 000000000077DCF0:4096
2016/03/18 11:14:03 [debug] 60010#0: *1 readv: 1:4096
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe recv chain: 2843
2016/03/18 11:14:03 [debug] 60010#0: *1 readv: 1:1253
2016/03/18 11:14:03 [debug] 60010#0: *1 readv() not ready (11: Resource temporarily unavailable)
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe recv chain: -2
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe buf in   s:1 t:1 f:0 000000000077BCD0, pos 000000000077BF5F, size: 3441 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe buf free s:0 t:1 f:0 000000000077DCF0, pos 000000000077DCF0, size: 2843 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe length: -1
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write downstream: 1
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write busy: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write buf ls:1 000000000077BF5F 3441
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write: out:000000000077D248, f:0
2016/03/18 11:14:03 [debug] 60010#0: *1 http output filter "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http copy filter: "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 image filter
2016/03/18 11:14:03 [debug] 60010#0: *1 xslt filter body
2016/03/18 11:14:03 [debug] 60010#0: *1 http postpone filter "/?" 000000000077D248
2016/03/18 11:14:03 [debug] 60010#0: *1 http gzip filter
2016/03/18 11:14:03 [debug] 60010#0: *1 malloc: 00007FDF6423B010:270336
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip alloc: n:1 s:5936 a:8192 p:00007FDF6423B010
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip alloc: n:32768 s:2 a:65536 p:00007FDF6423D010
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip alloc: n:32768 s:2 a:65536 p:00007FDF6424D010
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip alloc: n:32768 s:2 a:65536 p:00007FDF6425D010
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip alloc: n:16384 s:4 a:65536 p:00007FDF6426D010
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in: 000000000077D330
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in_buf:000000000077D1F8 ni:000000000077BF5F ai:3441
2016/03/18 11:14:03 [debug] 60010#0: *1 malloc: 00000000007C8060:4096
2016/03/18 11:14:03 [debug] 60010#0: *1 deflate in: ni:000000000077BF5F no:00000000007C8060 ai:3441 ao:4096 fl:0 redo:0
2016/03/18 11:14:03 [debug] 60010#0: *1 deflate out: ni:000000000077CCD0 no:00000000007C8060 ai:0 ao:4096 rc:0
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in_buf:000000000077D1F8 pos:000000000077BF5F
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in: 0000000000000000
2016/03/18 11:14:03 [debug] 60010#0: *1 http copy filter: 0 "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write busy: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write: out:0000000000000000, f:0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe read upstream: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe buf free s:0 t:1 f:0 000000000077DCF0, pos 000000000077DCF0, size: 2843 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe buf free s:0 t:1 f:0 000000000077BCD0, pos 000000000077BCD0, size: 0 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe length: -1
2016/03/18 11:14:03 [debug] 60010#0: *1 event timer: 12, old: 1458299703835, new: 1458299703857
2016/03/18 11:14:03 [debug] 60010#0: *1 post event 00000000007A1178
2016/03/18 11:14:03 [debug] 60010#0: *1 post event 00000000007B4988
2016/03/18 11:14:03 [debug] 60010#0: *1 delete posted event 00000000007B4988
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream request: "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream dummy handler
2016/03/18 11:14:03 [debug] 60010#0: *1 delete posted event 00000000007A1178
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream request: "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream process upstream
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe read upstream: 1
2016/03/18 11:14:03 [debug] 60010#0: *1 readv: 2:4096
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe recv chain: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe buf free s:0 t:1 f:0 000000000077DCF0, pos 000000000077DCF0, size: 2843 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe buf free s:0 t:1 f:0 000000000077BCD0, pos 000000000077BCD0, size: 0 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe length: -1
2016/03/18 11:14:03 [debug] 60010#0: *1 input buf #1
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 000000000077BCD0
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write downstream: 1
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write downstream flush in
2016/03/18 11:14:03 [debug] 60010#0: *1 http output filter "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http copy filter: "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 image filter
2016/03/18 11:14:03 [debug] 60010#0: *1 xslt filter body
2016/03/18 11:14:03 [debug] 60010#0: *1 http postpone filter "/?" 000000000077D248
2016/03/18 11:14:03 [debug] 60010#0: *1 http gzip filter
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in: 000000000077D3B0
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in_buf:000000000077D1F8 ni:000000000077DCF0 ai:2843
2016/03/18 11:14:03 [debug] 60010#0: *1 deflate in: ni:000000000077DCF0 no:00000000007C8060 ai:2843 ao:4096 fl:0 redo:0
2016/03/18 11:14:03 [debug] 60010#0: *1 deflate out: ni:000000000077E80B no:00000000007C8060 ai:0 ao:4096 rc:0
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in_buf:000000000077D1F8 pos:000000000077DCF0
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in: 0000000000000000
2016/03/18 11:14:03 [debug] 60010#0: *1 http copy filter: 0 "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 pipe write downstream done
2016/03/18 11:14:03 [debug] 60010#0: *1 event timer: 12, old: 1458299703835, new: 1458299703857
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream exit: 0000000000000000
2016/03/18 11:14:03 [debug] 60010#0: *1 finalize http upstream request: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 finalize http proxy request
2016/03/18 11:14:03 [debug] 60010#0: *1 free rr peer 1 0
2016/03/18 11:14:03 [debug] 60010#0: *1 close http upstream connection: 12
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 000000000079F4B0, unused: 48
2016/03/18 11:14:03 [debug] 60010#0: *1 event timer del: 12: 1458299703835
2016/03/18 11:14:03 [debug] 60010#0: *1 reusable connection: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 http upstream temp fd: -1
2016/03/18 11:14:03 [debug] 60010#0: *1 http output filter "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http copy filter: "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 image filter
2016/03/18 11:14:03 [debug] 60010#0: *1 xslt filter body
2016/03/18 11:14:03 [debug] 60010#0: *1 http postpone filter "/?" 00007FFE1A8B9110
2016/03/18 11:14:03 [debug] 60010#0: *1 http gzip filter
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in: 000000000077D410
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in_buf:000000000077D3C0 ni:0000000000000000 ai:0
2016/03/18 11:14:03 [debug] 60010#0: *1 deflate in: ni:0000000000000000 no:00000000007C8060 ai:0 ao:4096 fl:4 redo:0
2016/03/18 11:14:03 [debug] 60010#0: *1 deflate out: ni:0000000000000000 no:00000000007C89BB ai:0 ao:1701 rc:1
2016/03/18 11:14:03 [debug] 60010#0: *1 gzip in_buf:000000000077D3C0 pos:0000000000000000
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 00007FDF6423B010
2016/03/18 11:14:03 [debug] 60010#0: *1 http chunk: 10
2016/03/18 11:14:03 [debug] 60010#0: *1 http chunk: 2403
2016/03/18 11:14:03 [debug] 60010#0: *1 write old buf t:1 f:0 000000000077CE08, pos 000000000077CE08, size: 756 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 write new buf t:1 f:0 000000000077D510, pos 000000000077D510, size: 5 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 write new buf t:0 f:0 0000000000000000, pos 00000000006C9820, size: 10 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 write new buf t:1 f:0 00000000007C8060, pos 00000000007C8060, size: 2403 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 write new buf t:0 f:0 0000000000000000, pos 00000000004A1EB8, size: 7 file: 0, size: 0
2016/03/18 11:14:03 [debug] 60010#0: *1 http write filter: l:1 f:1 s:3181
2016/03/18 11:14:03 [debug] 60010#0: *1 http write filter limit 0
2016/03/18 11:14:03 [debug] 60010#0: *1 writev: 3181
2016/03/18 11:14:03 [debug] 60010#0: *1 http write filter 0000000000000000
2016/03/18 11:14:03 [debug] 60010#0: *1 http copy filter: 0 "/?"
2016/03/18 11:14:03 [debug] 60010#0: *1 http finalize request: 0, "/?" a:1, c:1
2016/03/18 11:14:03 [debug] 60010#0: *1 set http keepalive handler
2016/03/18 11:14:03 [debug] 60010#0: *1 http close request
2016/03/18 11:14:03 [debug] 60010#0: *1 http log handler
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 00000000007C8060
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 0000000000000000
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 000000000077DCF0
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 0000000000000000
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 00000000007845B0, unused: 2
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 000000000077ACC0, unused: 8
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 000000000077CCE0, unused: 1625
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 00000000007841A0
2016/03/18 11:14:03 [debug] 60010#0: *1 hc free: 0000000000000000 0
2016/03/18 11:14:03 [debug] 60010#0: *1 hc busy: 0000000000000000 0
2016/03/18 11:14:03 [debug] 60010#0: *1 tcp_nodelay
2016/03/18 11:14:03 [debug] 60010#0: *1 reusable connection: 1
2016/03/18 11:14:03 [debug] 60010#0: *1 event timer add: 11: 10000:1458299653857
2016/03/18 11:14:03 [debug] 60010#0: *1 post event 00000000007A1110
2016/03/18 11:14:03 [debug] 60010#0: *1 delete posted event 00000000007A1110
2016/03/18 11:14:03 [debug] 60010#0: *1 http keepalive handler
2016/03/18 11:14:03 [debug] 60010#0: *1 malloc: 00000000007841A0:1024
2016/03/18 11:14:03 [debug] 60010#0: *1 recv: fd:11 -1 of 1024
2016/03/18 11:14:03 [debug] 60010#0: *1 recv() not ready (11: Resource temporarily unavailable)
2016/03/18 11:14:03 [debug] 60010#0: *1 epoll add event: fd:11 op:3 ev:80000005
2016/03/18 11:14:03 [debug] 60010#0: *1 free: 00000000007841A0
2016/03/18 11:14:03 [debug] 60010#0: *1 post event 00000000007B4920
2016/03/18 11:14:03 [debug] 60010#0: *1 delete posted event 00000000007B4920
2016/03/18 11:14:03 [debug] 60010#0: *1 http empty handler
nginx.access.log

94.217.150.214 - - [18/Mar/2016:11:14:03 +0000] "GET / HTTP/1.1" 200 2425 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /list HTTP/1.1" 200 8800 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_4/image_9/thumb_regusse_2015_10_019.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_2/image_6/thumb_feb09_153.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_5/image_19/thumb_juli09_204.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_9/image_8/thumb_2015_okt_034.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_11/image_10/thumb_Jo_un_028_2.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_12/image_11/thumb_mrz-apr2013_485.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_1/image_2/thumb_2015_oktober_038.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_8/image_3/thumb_2015_okt_015.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_7/image_12/thumb_januar2010_175.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_13/image_13/thumb_CIMG2137.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_15/image_15/thumb_IMG_1329.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_16/image_1/thumb_Ch%C3%AAnes-1.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_14/image_14/thumb_regusse_mai2011_043.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_17/image_27/thumb_151132_4_1_105649.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_18/image_16/thumb_IMG_7483.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_19/image_17/thumb_fayence_nov2010_014a.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_20/image_18/thumb_Barjols_054.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_21/image_26/thumb_101083-23-1-3-gr.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_6/image_4/thumb_Maison__Montbrun.JPG HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:29 +0000] "GET /uploads/picture/image/house_3/image_20/thumb_101083-8-1-2-gr.jpg HTTP/1.1" 304 0 "http://217.160.14.233/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:38 +0000] "GET /notes HTTP/1.1" 200 2542 "http://217.160.14.233/list" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:39 +0000] "GET /list HTTP/1.1" 200 8800 "http://217.160.14.233/notes" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
94.217.150.214 - - [18/Mar/2016:11:16:40 +0000] "GET / HTTP/1.1" 200 2425 "http://217.160.14.233/list" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0"
编辑:


好的,我刚刚意识到命令
hostmydomain.de
返回另一个IP地址。这可能是问题所在吗?

您确定域
mydomain.de
指向您的服务器吗?您可以通过运行
主机mydomain.de
(在unix/Linux下)找到答案。你最近更新了你的DNS记录吗?也许唯一的办法就是再等一会儿。嘿,谢谢你的回复。我使用了这个命令,看起来dns指向了我的服务器。我没有更新任何东西(只有nginx配置)。好的,在这种情况下,你能在nginx访问日志中看到你的请求吗?您可以发布此日志中的一些示例行吗?访问日志还是错误日志?尝试使用域名加载端没有给我任何错误。也许检查一下你没有
服务器名mydomain.de在另一个配置文件中定义,例如
etc/nginx/sites available/default
,该配置文件也已加载?您确定域
mydomain.de
指向您的服务器吗?您可以通过运行
主机mydomain.de
(在unix/Linux下)找到答案。你最近更新了你的DNS记录吗?也许唯一的办法就是再等一会儿。嘿,谢谢你的回复。我使用了这个命令,看起来dns指向了我的服务器。我没有更新任何东西(只有nginx配置)。好的,在这种情况下,你能在nginx访问日志中看到你的请求吗?您可以发布此日志中的一些示例行吗?访问日志还是错误日志?尝试使用域名加载端没有给我任何错误。也许检查一下你没有
服务器名mydomain.de在另一个配置文件中定义,如
etc/nginx/sites available/default
,该配置文件也已加载?