我的设置如下: Webserver :在端口8529上监听的应用程序。 反向代理 :Nginx监听端口80。 问题是我的Nginx将请求redirect到端口8529,并且出现在像http://some.domain.com:8529/foo这样的URL中,这不是我想要完成的。 我现在的nginx sites-available相关文件如下: server { listen 80; server_name some.domain.com; location / { proxy_pass http://localhost:8529/foo; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-NginX-Proxy true; } } 其中some.domain.com位于指向127.0.0.1 /etc/hosts 。 任何提示?
访问http://www.wraithnath.com时,我的网站www.wraithnath.com正常工作 但是当我从http://wraithnath.com访问我得到默认的Apache 2页面。 网站上的一些图片不再可以从http://wraithnath.com引用 这一切都工作之前,所以我不知道有什么改变。 我的DNS有一个logging指向@的IP地址,并有一个www的cname。 我的conf看起来像这样: ServerAdmin *removed* DocumentRoot /var/www/WraithNath ServerName wraithnath.com ServerAlias www.wraithnath.com <Directory /var/www/WraithNath/> AllowOverride All </Directory> 我还能检查什么来解决这个问题? 谢谢
我升级我的服务器到Ubuntu 14.04.1 LTS,现在我似乎无法让我的SSL证书正常工作。 升级后,我试图启动Apache时收到错误: AH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/mywebsite-ssl 第11行包括: Options Indexes +FollowSymLinks MultiViews 我已经评论了这一行,然后Apache会启动。 我去了我的服务器上的SquirrelMail和HTTPS://加载的很好,但是当我去我的实际网站与https://我有一个内部服务器错误。 我试图find错误日志中的问题,但没有logging。 我的问题 :我需要有选项索引+ FollowSymLinks MultiView为了我的SSL加载正确,如果是的话,我该怎么办有关Apache没有正确重新启动,当这一行没有注释掉?
我有Samba安装在Ubuntu 14.04服务器上,在我的smb.conf中 interfaces = lo em1 bind interfaces only = yes 这应该使Samba只绑定到loopback和第一个embedded式网卡,但实际上只绑定到lo root@server:~# lsof -ni:139 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME smbd 830 root 29u IPv4 11311 0t0 TCP 127.0.0.1:netbios-ssn (LISTEN) smbd 830 root 31u IPv6 11313 0t0 TCP [::1]:netbios-ssn (LISTEN) 如果我在smb.conf中注释这两行,它将绑定到em1,没有任何问题。 那里发生了什么?
我不确定是否有正确的术语,但是我想知道的是,如果我可以保存在Ubuntu 14.04上运行的当前VPS设置,以便我可以将其转移到另一个托pipe提供商。 我正在运行Nginx和HHVM,我真的宁愿不必重新安装和更多(HHVM是一个头痛)。 这可能吗?
我试图在运行Ubuntu 14.04的服务器上启用APC APC似乎正确启用,因为当我运行这个命令: sudo php -i | grep "apc" terminal返回: apc apcu apc.coredump_unmap => Off => Off apc.enable_cli => Off => Off apc.enabled => On => On apc.entries_hint => 4096 => 4096 apc.gc_ttl => 3600 => 3600 apc.mmap_file_mask => no value => no value apc.preload_path => no value => no value apc.rfc1867 => Off => […]
我一直在使用这个教程在我的Ubuntu PC上build立一个Apache虚拟主机。 我创build了一个no-ip domain ,我将用它作为我的虚拟主机的主机名。 我已经按照教程的每一步,但它不起作用。 这是虚拟主机文件,名为crm2plus.ddns.net.conf : <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: […]
我有一个新的Tomcat7安装(pipe理模块)的Ubuntu 14.04服务器。 无论用户在/etc/tomcat7/tomcat-users.xml中使用什么设置,我都无法loginpipe理页面。 目前的是这样的: <role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="manager-jmx"/> <role rolename="manager-status"/> <role rolename="admin-gui"/> <role rolename="admin-script"/> <user username="admin" password="admin" roles="manager-gui"/> 我也给所有上述angular色给同一个用户,但仍然无法validation。 任何帮助表示赞赏。
我在HPCloud.com上创build了一个Ubuntu 14.04虚拟机来练习厨师。 在此之后,我在HPCloud上设置DNS,并将/ etc / hosts中的主机名设置为chef-server.mydomain.com 运行时 chef-server-ctl user-create user_name first_name last_name email password –filename FILE_NAME 我越来越 ERROR: Connection refused connecting to https://127.0.0.1/users/, retry 1/5 它重试5次,失败。 我的设置有什么问题?
我刚刚在Ubuntu 14.04上使用VestaCP安装了一个VPS,并使用默认的exim邮件服务器。 我希望能够将邮件转发到root @到另一个电子邮件地址。 但是,我得到了很多,我的意思是堆,这些错误消息在我的日志中: 2015-02-12 02:08:02 H=(mail.onlythebible.com) [106.187.53.43] sender verify defer for <[email protected]>: remote host address is the local host 我实际上有点困惑(原谅我的无知)是[email protected](我的邮件服务器)一样root @ localhost? 为什么会把电子邮件发送到那里? 命令: exim -bt root@localhost返回以下内容: LOG: MAIN remote host address is the local host: localhost (while routing <root@localhost>) root@localhost cannot be resolved at this time: remote host address is the local […]