mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
fix linkshortner link
This commit is contained in:
parent
7aa90c1f2f
commit
25669abb40
@ -90,8 +90,9 @@ const MonitorCriteriaElement: FunctionComponent<ComponentProps> = (
|
||||
MonitorCriteria.fromJSON({
|
||||
_type: 'MonitorCriteria',
|
||||
value: {
|
||||
monitorCriteriaInstanceArray:
|
||||
[...newMonitorCriterias],
|
||||
monitorCriteriaInstanceArray: [
|
||||
...newMonitorCriterias,
|
||||
],
|
||||
},
|
||||
})
|
||||
);
|
||||
|
@ -347,7 +347,7 @@ server {
|
||||
client_max_body_size 50M;
|
||||
}
|
||||
|
||||
location /l { # Short URL for Link Shortener
|
||||
location /l/ { # Short URL for Link Shortener
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
@ -357,7 +357,7 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://link-shortener;
|
||||
proxy_pass http://link-shortener/;
|
||||
|
||||
client_max_body_size 50M;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user