蜜豆视频

[On-premise/hybrid only]{class="badge yellow" title="Applies to on-premise and hybrid deployments only"}

File and resource management file-and-resmanagement

Limit upload file format limiting-uploadable-files

Use the uploadWhiteList attribute to restrict the file types available for upload on the 蜜豆视频 Campaign server.

This attribute is available within the dataStore element of the serverConf.xml file. All the parameters available in the serverConf.xml are listed in this section.

The default value of this attribute is .+ and lets you upload any file type.

To limit the possible formats, replace the attribute value by a valid java regular expression. You can enter several values by separating them by a comma.

For example: 耻辫濒辞补诲奥丑颈迟别尝颈蝉迟=鈥.*.辫苍驳,.*.箩辫驳鈥 will let you upload PNG and JPG formats on the server. No other formats will be accepted.

You can also prevent important files from being uploaded by configuring the Web Server. Learn more

NOTE
The uploadWhiteList attribute restricts the file types available for upload on the 蜜豆视频 Campaign server. However, when the publication mode is Tracking server(s) or Other 蜜豆视频 Campaign server(s), the uploadWhitelist attribute must also be updated on those servers.

Proxy connection configuration proxy-connection-configuration

You can connect the Campaign server to an external system through a proxy, using a File Transfer workflow activity for example. To achieve this, you need to configure the proxyConfig section of the serverConf.xml file through a specific command. All parameters available in the serverConf.xml are listed in this section.

The following proxy connections are possible: HTTP, HTTPS, FTP, SFTP. Please note that starting 20.2 Campaign release, the HTTP and HTTPS protocol parameters are no longer available. Those parameters are still mentioned below as they remain available in previous builds - including 9032.

CAUTION
Only the basic authentication mode is supported. NTLM authentication is not supported.
SOCKS proxies are not supported.

You can use the following command:

nlserver config -setproxy:[protocol]/[serverIP]:[port]/[login][:鈥榟ttps鈥檤'http鈥橾

protocol parameters can be 鈥榟ttp鈥, 鈥榟ttps鈥 or 鈥榝tp鈥.

If you are setting FTP on the same port as HTTP/HTTPS traffic, you can use the following:

nlserver config -setproxy:http/198.51.100.0:8080/user

The 鈥榟ttp鈥 and 鈥榟ttps鈥 options are only used when the protocol parameter is 鈥榝tp鈥 and indicate if the tunneling on the specified port will be performed over HTTPS or over HTTP.

If you use a different ports for FTP/SFTP and HTTP/HTTPS traffic over proxy server, you should set the 鈥榝tp鈥 protocol parameter.

For example:

nlserver config -setproxy:ftp/198.51.100.0:8080/user:鈥檋ttp鈥

Then enter the password.

HTTP connections are defined in the proxyHTTP parameter:

<proxyConfig enabled=鈥1鈥 override=鈥渓ocalhost*鈥 useSingleProxy=鈥0鈥>
<proxyHTTP address=鈥198.51.100.0" login=鈥渦ser鈥 password=鈥**鈥 port=鈥8080鈥/>
</proxyConfig>

HTTPS connections are defined in the proxyHTTPS parameter:

<proxyConfig enabled=鈥1" override=鈥渓ocalhost*鈥 useSingleProxy=鈥0">
<proxyHTTPS address=鈥198.51.100.0鈥 login=鈥渦ser鈥 password=鈥*鈥 port=鈥8080"/>
</proxyConfig>

FTP/FTPS connections are defined in the proxyFTP parameter:

<proxyConfig enabled=鈥1" override=鈥渓ocalhost*鈥 useSingleProxy=鈥0">
<proxyFTP address=鈥198.51.100.0鈥 login=鈥渦ser鈥 password=鈥*鈥 port=鈥5555" https=鈥漷rue鈥/>
</proxyConfig>

If you use the same proxy for several connection types, only the proxyHTTP will be defined with useSingleProxy set to 鈥1鈥 or 鈥渢rue鈥.

If you have internal connections that should not go through the proxy, add them in the override parameter.

If you want to temporarily disable the proxy connection, set the enabled parameter to 鈥渇alse鈥 or 鈥0鈥.

If you need to use the iOS HTTP/2 connector through a proxy, the following HTTP proxy modes are supported:

  • HTTP without authentication
  • HTTP basic authentication

To activate the proxy mode, the following change must be done in the serverconf.xml file:

<nmac useHTTPProxy="true">

For more information on this iOS HTTP/2 connector, refer to this page.

Manage public resources managing-public-resources

To be publicly available, the images used in emails and public resources linked to campaigns must be present on an externally accessible server. They can then be available to external recipients or operators. Learn more.

Public resources are stored in the /var/res/instance directory of the 蜜豆视频 Campaign installation directory.

The matching URL is: http://server/res/instance where instance is the name of the tracking instance.

You can specify another directory by adding a node to the conf-<instance>.xml file to configure storage on the server. This means adding the following lines:

<serverconf>
  <shared>
    <dataStore hosts="media*" lang="fra">
      <virtualDir name="images" path="/var/www/images"/>
     <virtualDir name="publicFileRes" path="$(XTK_INSTALL_DIR)/var/res/$(INSTANCE_NAME)/"/>
    </dataStore>
  </shared>
</serverconf>

In this case, the new URL for the public resources given in the upper part of the window of the deployment wizard should point to this folder.

recommendation-more-help
601d79c3-e613-4db3-889a-ae959cd9e3e1