Last active
June 8, 2018 21:00
-
-
Save geekbass/cc51a229f1c08536936c8d172e533d70 to your computer and use it in GitHub Desktop.
Spark on DC/OS UI Proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
proxy_pass http://driverforss-rva-processing.spark-2.2.mesos:4040/jobs/; | |
sub_filter_types text/html; | |
sub_filter_once off; | |
sub_filter '="/' '="/service/spark-jobs/'; | |
sub_filter 'var PATH_PREFIX = "";' 'var PATH_PREFIX = "/service/spark-jobs";'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment