我正在设置一个新的服务器。我选择的http-Server是NGINX。我想添加域audi-freunde-einbeck.de作为虚拟主机。我已经有2个其他域名在那里,它工作得很好,但当我尝试添加上面提到的域名,并启动服务器,它给我Job failed. See system journal and 'systemctl status' for details.我认为这是因为破折号,所以我尝试了各种其他域名有和没有连字符,但没有运气。同样的错误。这可能是什么原因造成的?我也试过重启,我真的不知所措。任何帮助都将不胜感激。
我试了一下,发现,当我只放入一个域名时,它就能工作。但是
我正在处理一张桌子上的两列。
+-------------+--------------------------------------------------------------+
| Area Name | Code Description |
+-------------+--------------------------------------------------------------+
| N Hollywood | VIOLATION OF RESTRAINING ORDER
我正在检查任何域名的链接,无论链接是否工作,因为我是从本地主机调试,我不能特定的域名,例如localhost:xyz/preferences?hl=en,而不是这我想(),所以我们可以通过替换字符串
var linkWithLocalHost = "http://localhos:234/foo";
var result = // ??? some code that manipulates linkWithLocalHost
// expecting "http://google.co.il/foo" as result
我正在寻找一种更容易的grails方式(如果存在)来实现以下目标:
我的UserIntegration.groovy域类:
class UserIntegration {
User user
Integration integration
// rest of code
}
我的Integration.groovy域名:
class Integration {
SomeType type
// rest of code
}
我的SomeType.groovy域名:
class SomeType {
String name
// rest of code
}
所以基本上我需要的是一