...path is /etc/ImageMagick/policy.xml Remove/Comment lines after If you need it enabled for an app server, ask your operations team to do that for you...
...work with other Linux distros, as long as you are using the Xorg display server. It likely won't work on Wayland. The script assumes that external display order is...
...more processes than just your tests while your test suite is running: The Rails server booted by each test process (in a separate process) The Chrome browser started by each...
Your IDE Your window environment Background services Fixing flaky tests Running fewer test processes is only a bandaid. Your test suite has issues with uncontrolled timing issues. Reducing...
...SEARCHKICK_CLIENT_TYPE).to_sym ENV['OPENSEARCH_URL'] ||= case Rails.env when 'production' OPENSEARCH_PRODUCTION_SERVER when 'staging' OPENSEARCH_STAGING_SERVER else 'http://opensearch:9200' # docker container name end
...setup the opensearch cluster. When the cluster exists, open a console on the staging server with the ENV-variable SEARCHKICK_CLIENT_TYPE set to "opensearch". SEARCHKICK_CLIENT_TYPE=opensearch b...
...be evaluated when running middleman for the specific environment. Default for the local dev server is development, default for building is production. Activate an environment with -e staging or --environment...
...be "built", too. However, testing in :build mode oddly # takes thrice as long as :server: mode, so you might try and skip this # setting for faster test runs. config[:mode...
...img tag in favor of lazy-loading, make sure you have a strategy to serve crawlers, if you need to support them. When the lazy-loaded image is inserted into...
...on productivity. Advantages No added effort: tests need to be written anyway. Test heads serve as todo lists. You'll always know what is finished and what is left to...
...this use case, any good network-client gem like the http or httpclient gems serve us just well most of the time. The examples below use the http gem ("http.rb...
...nginx is much more straightforward. A reverse proxy is a "man in the middle" server that tunnels requests to another server. You can use for things like: Expose a local...
...service that you cannot directly reach over the internet "Change" the domain or path of a web application by rewriting them on the fly Instantly change servers that respond to...
...ms, then animate) When you wait for I/O most of the time (web servers, crawlers) Most current and future HTML5 browser APIs have async signatures. Async frontend example
...stricter settings than the more liberal MariaDB. If your app explodes after changing SQL servers, you might be able to fix it by setting the SQL mode to the value...
...in your previous server version. Important SQL mode flags These SQL modes will probably give you the most headaches: STRICT_TRANS_TABLES, STRICT_ALL_TABLES Introduced in MySQL 5.7, these...
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed Here is how to fix that in your application.
...This is only okay-ish for testing something in development. Note that there are services like badssl.com to test against weird SSL behavior. Self-signed certificates Talking to a host...
...Warum nicht dem Browser verbieten gefährliche Dinge zu tun, z.B. Inline-Skripte auszuführen? Funktionsweise Server setzt einen HTTP-Header, der detailliert beschreibt, welche (potentiell gefährlichen Dinge) die Webseite tun darf...
...z.B. Analytics-Snippet o.ä.), kann man den nonce-Mechanismus verwenden. Dazu generiert der Server für jeden Request einen zufälligen Wert (eine "Nonce"), und schreibt ihn in Header und an...
...Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server, template engine, unit and integration testing frameworks and more. Generate an app in minutes using...
...as expected (which might be compromised e.g. due to security products or enterprise proxy servers...
...passenger worker. Please update the card accordingly if you solve that issue. If your server is running passenger enterprise, rather use that tool to inspect your process.
The step definitions below allow you to test the filename suggested by the server: When I follow "Export as ZIP" Then I should get a download with the filename...
...as enumerable) and the using methods iterated over them. As the using methods like serve do not actually need all routes, but may return early, a change has been introduced...
...of the Content-Type: HTTP header or the equivalent in the protocol used to serve the style sheet. The @charset CSS at-rule. Sprockets The asset pipeline (with Sprockets) does...
...those who already own an SSL certificate (e.g. using it in the Apache HTTP Server) and need to feed it to a Tomcat application. The main issue is that you...
...not need to add any intermediate certificate authorities to the keystore. Set up your server.xml You are now ready to use your certificate. Modify your server.xml inside the application directory...
...no longer match. If you see an error like this when deploying to a server, you can remove your old (e.g. RSA based) fingerprints from ~/.ssh/known_hosts: Exception while executing as...
Here we cover one specific issue: Once you have started your development Rails server and esbuild with the --watch option (if you used jsbundling-rails to set up, you...
databases 32 Save and close config file, then restart Redis: sudo service redis-server restart Confirm your configuration has been updated. The following command should return "OK...
...values stored in one request may be available to the next (depending on your server). request_store wipes all data when a request ends and makes per-request global storage...