Skip to content

nfs-stuff/soapbox-race-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soapbox-race-core

standalone.xml need to have gzip, here an example

<subsystem xmlns="urn:jboss:domain:undertow:3.1">
  <buffer-cache name="default" />
  <server name="default-server">
    <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true" />
    <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true" />
    <host name="default-host" alias="localhost">
      <location name="/" handler="welcome-content" />
      <filter-ref name="server-header" />
      <filter-ref name="x-powered-by-header" />
      <filter-ref name="gzipFilter"
        predicate="exists['%{o,Content-Type}'] and regex[pattern='(?:application/javascript|text/css|text/html|text/xml|application/json|application/xml)(;.*)?', value=%{o,Content-Type}, full-match=true] and not min-content-size[10]" />
      <filter-ref name="Vary-header" />
    </host>
  </server>
  <servlet-container name="default">
    <jsp-config />
    <websockets />
  </servlet-container>
  <handlers>
    <file name="welcome-content" path="${jboss.home.dir}/welcome-content" />
  </handlers>
  <filters>
    <response-header name="server-header" header-name="Server" header-value="WildFly/10" />
    <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1" />
    <response-header name="Vary-header" header-name="Vary" header-value="Accept-Encoding" />
    <gzip name="gzipFilter" />
  </filters>
</subsystem>

system property example:

 <system-properties>
    <property name="openFireToken" value="xzxzx99df4d51z2d" />
    <property name="openFireAddress" value="http://localhost:9090/plugins/restapi/v1" />
    <property name="xmppIp" value="127.0.0.1" />
    <property name="xmppPort" value="5222" />
    <property name="udpRaceIp" value="127.0.0.1"/>
    <property name="udpRacePort" value="9998"/>
    <property name="ticketToken" value="123456789"/>
  </system-properties>

datasource example:

<datasource jndi-name="java:jboss/datasources/SoapBoxDS" pool-name="SoapBoxDS" enabled="true" use-java-context="true">
  <connection-url>jdbc:h2:tcp://localhost/~/git/soapbox-race-core/db/soapbox</connection-url>
  <driver>h2</driver>
  <security>
    <user-name>sa</user-name>
    <password>sa</password>
  </security>
</datasource>

donations: https://www.patreon.com/nilzao

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.9%
  • Shell 0.1%