|
|
|
@ -20,14 +20,14 @@ This basically rewrites the requests to `/dist/1.js` to `/ombi/dist/1.js` where
|
|
|
|
|
|
|
|
|
|
**Apache:**
|
|
|
|
|
|
|
|
|
|
<Location /ombi>
|
|
|
|
|
Allow from 0.0.0.0
|
|
|
|
|
ProxyPass "http://127.0.0.1:5000/ombi" connectiontimeout=5 timeout=30 keepalive=on
|
|
|
|
|
ProxyPassReverse "http://127.0.0.1:5000/ombi"
|
|
|
|
|
</Location>
|
|
|
|
|
`<Location /ombi>`
|
|
|
|
|
`Allow from 0.0.0.0`
|
|
|
|
|
`ProxyPass "http://127.0.0.1:5000/ombi" connectiontimeout=5 timeout=30 keepalive=on`
|
|
|
|
|
`ProxyPassReverse "http://127.0.0.1:5000/ombi"`
|
|
|
|
|
`</Location>`
|
|
|
|
|
|
|
|
|
|
RewriteEngine on
|
|
|
|
|
RewriteRule ^/ombi$ https://mywebsite.com/ombi/ [R=301,L]
|
|
|
|
|
RewriteCond %{HTTP_REFERER} "https://mywebsite.com/ombi/"
|
|
|
|
|
RewriteCond %{REQUEST_URI} !^/ombi
|
|
|
|
|
RewriteRule ^(.*)$ /ombi$1 [R=301,L]
|
|
|
|
|
`RewriteEngine on`
|
|
|
|
|
`RewriteRule ^/ombi$ https://mywebsite.com/ombi/ [R=301,L]`
|
|
|
|
|
`RewriteCond %{HTTP_REFERER} "https://mywebsite.com/ombi/"`
|
|
|
|
|
`RewriteCond %{REQUEST_URI} !^/ombi`
|
|
|
|
|
`RewriteRule ^(.*)$ /ombi [R=301,L]`
|