我拥有2.1.1个单独组群,由原产地代理,相关组合如下:
http://www.un.org/Depts/DGACM/index_french.htm
spark.ui.reverseProxy true
spark.ui.reverseProxyUrl http://<mydomain>/spark
原始站点配置
location /spark/ {
proxy_pass http://spark-master:8080/;
proxy_set_header Accept-Encoding ;
sub_filter /static/ /spark/static/ ;
sub_filter /proxy/ /spark/proxy/ ;
sub_filter_once off;
}
在我查阅申请表时,例如:
http://<my domain>/spark/proxy/app-20170831014128-0000/jobs/
他们看上去了非常大的眼光,因为他们的相关科斯塔科和贾瓦特档案无法找到,因为它们被定在错误的地点,例如,科安局的以下档案:
http://<my domain>/spark/proxy/app-20170831014128-0000/spark/static/bootstrap.min.css
我认为,它应当放在以下地点:
http://<my domain>/spark/static/bootstrap.min.css
因此,目前我通过添加“<编码>rewrite/code>关于正文的指令:
location /spark/ {
rewrite ^/spark/proxy/(.*)/spark/static/(.*) /spark/static/$2 last;
proxy_pass http://spark-master:8080/;
.
That is a quick and dirty work around. As I could not find any better solution so far after searching the internet, so I suspected perhaps there is something wrong on my setup.
Does anybody have suggestions where to look at? Or is this a known issue on Spark?
感谢你们的帮助。