I use gunicorn/django (using django-rest-framework) behind nginx to run the application, and when using hyperlinkedmodelserializer, I have a little problem with the url return using the rest of the
Tag: use
Jetty uses servlet
In embedded Jetty, sometimes we want to run some servlets, and then we need to create Context, and then let your Servlet run in these ServletContext.
package hb.jetty;import java.io.IOExcepti
Jetty’s use
1. Download the official website address of jetty from the official website http://www.eclipse.org/jetty/previousversions.html (version can be selected)
2. Unzip C:………,\Desktop\jetty-distribution-9.4.6.v20170531\jetty-distribution-9.4.6.v20170531
4. Click run.bat, and then visit 127.0.0.1:8080.
Nginx – use multiple Docker containers in a single host
I have a physical server running Nginx, MySQL, and serving my PHP website. The server has a multi-core processor with 16 GB RAM. This server can handle a certain amount of Web Traffic.
Now in
Configuration – use the subdomain configuration nginx
I have completed my previous research, but I can’t seem to find out how to properly configure nginx to accept subdomains.
I am currently correct for mydomain.com Configure, but not analyze.my
Hugo combined with nginx
Combined use of hugo and nginx Introduction Hugo is a static website generator written in go language. It is suitable for building personal blog, company homepage, help and other websites. It is a
Springboot + mybatisplus integrates and uses reverse engineering
First introduce the maven dependency: this is the dependency that needs to be introduced when reverse engineering when integrating mybatisplus
com.baomidou
mybatis-plus-boot-starter
2.3
Hue installation and use
HUE is an open source Apache Hadoop UI system, which was developed by Cloudera in the early stage and later contributed to the open source community. It is implemented based on the Python Web frame
Hibernate – JPA @LOB attribute encoding cannot be used with PostgreSQL text
JPA Mapping
I am using JPA and Hibernate. I have an entity with @Lob attributes
@Column(nullable=false)
@Lob
private String text; I am using PostgreSQL 8.4 and entities are correctly ma
Hibernate inheritance – Reference entity using @mappedsuperclass comment
@MappedSuperclass
public abstract class AbstractBaseModel{ }
@MappedSuperclass
public class Person extends AbstractBaseModel {}
@Entity
public class APerson extends Person {}
@Entity
public class B