Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

Drop client calls to the removed nginx routes

Juan Denis58e5096368a3
diff --git a/frontend/src/services/api/system.js b/frontend/src/services/api/system.js
index cdcffd7e..7e0e05a4 100644
--- a/frontend/src/services/api/system.js
+++ b/frontend/src/services/api/system.js
@@ -225,10 +225,6 @@ export async function getNginxProxyRules(domain) {
return this.request(`/nginx/advanced/proxy/${domain}`);
}
-export async function createNginxProxy(data) {
- return this.request('/nginx/advanced/proxy', { method: 'POST', body: data });
-}
-
export async function testAdvancedNginxConfig() {
return this.request('/nginx/advanced/test', { method: 'POST' });
}
@@ -247,10 +243,6 @@ export async function getNginxVhostLogs(domain, type = 'access', lines = 100) {
return this.request(`/nginx/advanced/logs/${domain}?type=${encodeURIComponent(type)}&lines=${encodeURIComponent(lines)}`);
}
-export async function getNginxLBMethods() {
- return this.request('/nginx/advanced/lb-methods');
-}
-
// Log endpoints
export async function getLogFiles() {
return this.request('/logs');