问题描述
我们最近在Rails应用程序集成环境上执行了DNS翻转。我们已将example-1.com设置为指向A记录example-2.com的CNAME。 example-2.com上的服务是带有Apache和Passenger Phusion的Ruby on Rails应用程序。在Apache之上,我们使用的是OpenId-Connect(特别是mod_auth_openidc模块)。
当我们尝试直接访问example-1.com时,一切正常。但是,当我们尝试通过example-2.com这样做时,会出现以下错误:
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font: normal 200px sans-serif;
font-family: 'Quicksand',sans-serif;
color: orange;
}
.content-area {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background-color: green;
min-height: 100vh;
/*opacity:0%;*/
}
.anim {
transform: scale(0);
opacity: 0%;
animation: grow-number 4s 2s 10 linear;
}
@keyframes grow-number {
0% {
transform: scale(0);
opacity: 0%;
}
10% {
opacity: 100%;
}
19% {
transform: scale(2.25);
color: orange;
}
20% {
transform: scale(2);
color: blue;
}
80% {
transform: scale(2);
color: blue;
}
90% {
opacity: 100%;
color: orange;
}
100% {
transform: scale(0);
color: orange;
opacity: 0%;
}
}
在.confd文件中,我们有<!DOCTYPE html>
<html>
<head>
<title>Count to 10!</title>
<!--jquery-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!--Font-->
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap" rel="stylesheet">
<!--STYLESHEETS-->
<link rel="stylesheet" href="countingdemo.css">
</head>
<body>
<div class="content-area">
<h1 class="anim">0</h1>
</div>
</body>
</html>
。
我们认为我们可能必须使用Apache重写部分请求才能解决此问题,但我们不确定。有谁知道最好的前进方式?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)