nginx-proxy-manager/frontend/js/models/dead-host.js
BatSmacker84 25f1fba96f
added webgui switch for OCSP Stapling
dead, proxy, and redirect hosts have the option to enable OCSP Stapling in the webgui
2023-08-22 20:08:21 -05:00

33 lines
856 B
JavaScript

const Backbone = require('backbone');
const model = Backbone.Model.extend({
idAttribute: 'id',
defaults: function () {
return {
id: undefined,
created_on: null,
modified_on: null,
domain_names: [],
certificate_id: 0,
ssl_forced: false,
http2_support: false,
hsts_enabled: false,
hsts_subdomains: false,
ocsp_stapling: false,
enabled: true,
meta: {},
advanced_config: '',
// The following are expansions:
owner: null,
certificate: null
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};